Forums / Templates, Stylesheets, Page Layout / Big Header_bg Won's Show Properly

Big Header_bg Won's Show Properly

Locked

Views: 610

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Apr 2010, 5:06 PM
#1
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Big Header_bg Won's Show Properly

Hi,

I want to add a Header to my site here http://www.gothshop.marleyman.co.uk/store/index.php
and the header is 420 in height. I am using the 'Darkness' Template and I have been into the css file to change the code to make the banner fit.

It looks like this

/wrappers - page or section containers/
#mainWrapper {
background-color: #383E44;
text-align: left;
width: 750px;
height:420px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-color: #383E44;
height:420px;
}

but if you look at the site the banner is only showing 144 pixels in height.

What should I be doing to get this large header banner to fit in?

Thanks,
Kenny M.

11 Apr 2010, 5:14 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Big Header_bg Won's Show Properly

Kennym:

Hi,

I want to add a Header to my site here http://www.gothshop.marleyman.co.uk/store/index.php
and the header is 420 in height. I am using the 'Darkness' Template and I have been into the css file to change the code to make the banner fit.

It looks like this

/wrappers - page or section containers/
#mainWrapper {
background-color: #383E44;
text-align: left;
width: 750px;
height:420px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-color: #383E44;
height:420px;
}

but if you look at the site the banner is only showing 144 pixels in height.

What should I be doing to get this large header banner to fit in?

Thanks,
Kenny M.

Remove the highlighted portion from your #mainwrapper declaration: See if that helps

#mainWrapper {
background-color: #383E44;
text-align: left;
width: 750px;
height:420px;
vertical-align: top;
border: 1px solid #9a9a9a;
}

BTW: your background image is 756px × 425px so change the height declaration

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-color: #383E44;
height:420px;/* change this to 425px*/
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Apr 2010, 5:24 PM
#3
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: Big Header_bg Won's Show Properly

sigh.. No, still squished in there

11 Apr 2010, 5:42 PM
#4
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: Big Header_bg Won's Show Properly

and now it is fixed... No idea why, but it is.

11 Apr 2010, 5:52 PM
#5
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Big Header_bg Won's Show Properly

Even after you change stuff on your site, you'll see the old version from your browser cache until you clear the cache and reload a fresh copy from the site itself.

By the way, Don't refer to the root page of your site as "index.php". The root ends with a trailing slash only. The URL with a named index file is Duplicate Content. Don't link to that version of the URL.

Online since 1995.