Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / From sidebox to header but can't change color!

From sidebox to header but can't change color!

Locked

Views: 724

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 May 2009, 7:42 PM
#1
soyabeane avatar

soyabeane

New Zenner

Join Date:
May 2009
Posts:
34
Plugin Contributions:
0

From sidebox to header but can't change color!

I've been trying for the past few hours without any luck so any help is immensely appreciated!!

I've placed my currency sidebox into the header instead and it goes up there fine. This is what I did:

  1. Replaced last line of \includes\modules\sideboxes\currency with this:
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

  2. Then I added this to my tpl_header:

<div id="navcurrencies"><?php require(DIR_WS_MODULES . 'sideboxes/custom/currencies.php'); ?></div>

Everything worked out beautifully.

But I needed to change the color of this currency "sidebox" cos my sideboxes are blue while my header is grey.

Tried changing the background color of the currency sidebox. No go.
Tried changing the background color for #navcurrencies. Doesn't work.

Does anyone have a solution? This is driving me nuts!

My webpage: https://www.dermoglo.com/shop

Thanks in advance!!

18 May 2009, 8:15 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: From sidebox to header but can't change color!

Did you try change the colour of the background colour of the #headerWrapper ?

18 May 2009, 8:41 PM
#3
soyabeane avatar

soyabeane

New Zenner

Join Date:
May 2009
Posts:
34
Plugin Contributions:
0

Re: From sidebox to header but can't change color!

Hi limelites,

I presume you meant this:
#headerWrapper }
background-color: #666666
}

if so, it didn't work.
thanks though...

19 May 2009, 3:17 AM
#4
soyabeane avatar

soyabeane

New Zenner

Join Date:
May 2009
Posts:
34
Plugin Contributions:
0

Re: From sidebox to header but can't change color!

oh gosh, finally cracked it.. or rather, i solved it by doing things the other way round.

Changed the sideboxContent background color to grey (color of header) and then changed the background color of the individual sideboxes back to blue.

at least it worked..