Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Desperately need help with CSS to get header graphics to work

Desperately need help with CSS to get header graphics to work

Locked

Views: 1,357

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 May 2009, 3:14 PM
#1
koenvandamme avatar

koenvandamme

New Zenner

Join Date:
Feb 2009
Posts:
53
Plugin Contributions:
0

Desperately need help with CSS to get header graphics to work

This one is beyond me. If you look at the source code of my shop you will see:

<div class="head"> <div class="head_r"> etc etc.... </div> </div>

In the stylesheet it says:

.head {background:url(../images/bg_head.gif);}

.head_r {background:url(../images/bg_head_r.jpg) right top no-repeat; width:866px; height:192px;}

Yet if you look at the shop in a browser, there is no header! The div doesn't appear.

This may shed some light on things: I created a flash banner and added the code to tpl_header.php. To get rid of the former banner image, I set the heigt of the div.head_r to 0px.

Now I want things back as they were. I deleted the flash code from tpl_header.php and set the height of the div.head_r back to 192px. But the header won't re-appear! I really don't know what to do. Any help is greatly appreaciated!

Here is the shop: http://www.mylittletoy.com/index.php

7 May 2009, 8:29 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Desperately need help with CSS to get header graphics to work

remove following from your style

.head {stylesheet_tm.css (line 3)
display:none;
}

5 Jun 2009, 1:19 PM
#3
koenvandamme avatar

koenvandamme

New Zenner

Join Date:
Feb 2009
Posts:
53
Plugin Contributions:
0

Re: Desperately need help with CSS to get header graphics to work

tony_sar:

remove following from your style

.head {stylesheet_tm.css (line 3)
display:none;
}

Better late than never: Thank you! That worked.