
Originally Posted by
testuser
You caught me in the middle of something ...
Anyways, it'd go something along these lines.
In your main stylesheet, stylesheet.css you'd add:
Code:
#headerBanner{
height:80px;
width:100%;
background:url(../images/homepagebanner.gif) top left no-repeat;
}
Where you'd place the banner is up to you, but this is the code for it:
Code:
<div id="#headerBanner"></div>
Now if you wanted to change it by category, simply create a stylesheet that corresponds to the category id you wish to change it for.
For example, for category 13 the stylesheet would be c_13.css
In that file would go:
Code:
#headerBanner {
background:url(../images/cat_13_banner.gif) top left no-repeat;
}
Use the magic of Zen.
I've tried your solutions, and I've added
Code:
#headerBanner{
height:80px;
width:100%;
background:url(../images/homepagebanner.gif) top left no-repeat;
}
to this file : includes\templates\iC_AcadameV1.2\css\stylesheet.css
and i've added
Code:
<div id="#headerBanner"></div>
to this file : includes\templates\iC_AcadameV1.2\common\tpl_header.php
but the banner still doesn't show up, am I wrong??
I've tried to disable the previous default 750x100 banner from zencart admin, but it still doesn't show up.
Please help testuser.. I'm sory for disturbing you, but I believe you are a nice person
Bookmarks