Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Side box, currencies and who's online font color

Side box, currencies and who's online font color

Locked
This thread is locked. New replies are disabled.
4 Nov 2006, 9:52 AM
#1
kitty avatar

kitty

New Zenner

Join Date:
Oct 2006
Posts:
63
Plugin Contributions:
0

Post #1 by kitty

I have been searchin for ages and i still cant find it... can someone tell me how to change the font color in the currencies drop down box and the font in the who's online sidebox?

Cheers

4 Nov 2006, 10:33 AM
#2
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Post #2 by seethrou

Try the following and insert it to the end of your stylesheet.
Then adjust them for your style, and some of them only for demo and can be dropped if not needed.

/* Sidebox - Currencies */
#currenciesContent {
background-color: brown;
padding: 0.8em;
}

#currenciesContent form {
background-color: red;
padding: 0.5em;
}

#currenciesContent select {
background-color: orange;
color: yellow;
}

/* Sidebox - Who's Online */
#whosonlineContent {
color: green;
font-style: italic;
}

A New Starter again

4 Nov 2006, 11:34 AM
#3
kitty avatar

kitty

New Zenner

Join Date:
Oct 2006
Posts:
63
Plugin Contributions:
0

Post #3 by kitty

it works!!! thanks sooo much!! i put in color code #ffffff instead of the color name but it works!!! thank you!!!

can i trouble you again and ask how i have the heading in the contact us to automatically show? like how the main page shows the heading "welcome to my shop", and "shipping and returns" page shows its title on that page?

cheers

4 Nov 2006, 11:45 AM
#4
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Post #4 by seethrou

If you install the demo data, you will find that there is a whole section for that:

Contact Us Sample Text ...

This section of text is from the Define Pages Editor located under Tools in the Admin.

To remove this section of the text, delete it from the Define Pages Editor.

This file is located in /languages/english/html_includes/classic/

NOTE: Always backup the files in /languages/english/html_includes/your_template

You can edit it at the admin => Define Pages Editor => define_contact_us.php.

.

A New Starter again

5 Nov 2006, 11:33 AM
#5
kitty avatar

kitty

New Zenner

Join Date:
Oct 2006
Posts:
63
Plugin Contributions:
0

Post #5 by kitty

hi seethrou!
thanks! but i was hoping that the heading for contact us has its own heading?
umm... like if u click "shipping and returns" page in the webpage it has the page title already there in the main middle column. if u click "contact us" page there is no heading... unless of course u manually type it in in define page editor, but when it comes out on the webpage, its lower. i dunno if i described it well?

is typin it in manually from define page editor the only way?

cheers

5 Nov 2006, 1:07 PM
#6
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Post #6 by seethrou

If you still want it.

Copy the following file from:
includes/templates/template_default/templates/tpl_contact_us_default.php

And save it to your template override directory as:
includes/templates/YOUR_TEMPLATE/tpl_contact_us_default.php

In the newly copied file find the following at about line 15

<div class="centerColumn" id="contactUsDefault">

And under the above line add the following code

<h1 id="contactUsHeading"><?php echo HEADING_TITLE; ?></h1>

After both of them combined, they will read as:

<div class="centerColumn" id="contactUsDefault">
<h1 id="contactUsHeading"><?php echo HEADING_TITLE; ?></h1>

Then take a preview, you will find that the heading is over your company name and address.

.

A New Starter again

5 Nov 2006, 4:58 PM
#7
kitty avatar

kitty

New Zenner

Join Date:
Oct 2006
Posts:
63
Plugin Contributions:
0

Post #7 by kitty

it works! thanks heaps!! :D it looks so much better... before it just seemed like sthg was missing...

i saved it to directory:
includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php

thanks thanks thanks!!! :smile:

cheers