Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Logo and a picture in the header

Logo and a picture in the header

Views: 1,934

Results 21 to 29 of 29
22 Apr 2011, 9:48 AM
#21
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Logo and a picture in the header

When I add the rules I mentioned to the end of stylesheet.css, it does indeed put those images where I think you want them.

22 Apr 2011, 9:54 AM
#22
truliebliss avatar

truliebliss

New Zenner

Join Date:
Sep 2008
Posts:
41
Plugin Contributions:
1

Re: Logo and a picture in the header

right done that but still the same:unsure:

22 Apr 2011, 11:43 AM
#23
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Logo and a picture in the header

#logoRight {float:right;}

#logoLeft, #logo {float:left;}

22 Apr 2011, 11:51 AM
#24
truliebliss avatar

truliebliss

New Zenner

Join Date:
Sep 2008
Posts:
41
Plugin Contributions:
1

Re: Logo and a picture in the header

Right done that again and its still the same:unsure:

22 Apr 2011, 1:25 PM
#25
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Logo and a picture in the header

To add to your woes... your layout is fluid, so if the browser window happens to be narrower than your site width, everything gets jammed up. I noticed this because I keep my browser window about 1000px wide, so I can see other things to either side of it.

I wondered, back when you started the thread, why you didn't just combine your two images into one, as wide as you need it. But with a fuild layout, I can see why you didn't do that.

You might try using the min-width setting in CSS. Some browsers ignore it, but some, at least, will obey.

Rob

22 Apr 2011, 1:30 PM
#26
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Logo and a picture in the header

Then I guess I don't understand what you're trying to accomplish. Right now, I'm seeing the logo.gif in the middle and the other images at either end of the header. The background colors are all wrong, but that has to do with the images, not the layout.

23 Apr 2011, 5:07 PM
#27
truliebliss avatar

truliebliss

New Zenner

Join Date:
Sep 2008
Posts:
41
Plugin Contributions:
1

Re: Logo and a picture in the header

Hi all, right i think it must be my browser like rstevenson said as this is what i see when i go to the site i will check it later when i get home on my home base.
Think i will try the min width that rstevenson suggested.
So thanks for now guys and i will let you know how i get on

23 Apr 2011, 6:11 PM
#28
truliebliss avatar

truliebliss

New Zenner

Join Date:
Sep 2008
Posts:
41
Plugin Contributions:
1

Re: Logo and a picture in the header

Ok guys ive sorted it when i put it in the info i set the size to 194 by 100 but the pics where 300 by 150 i just had to resize the pics. The reason i didnt think of that was because i thought setting the size of the pics would be set by the header but not to worry thank you all for your help with this

23 Apr 2011, 8:25 PM
#29
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Logo and a picture in the header

Much better.

Rob