Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing width of wrapper changes logowrapper

Changing width of wrapper changes logowrapper

Locked

Views: 1,129

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Jun 2009, 3:09 PM
#1
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Changing width of wrapper changes logowrapper

Hi,

I was hoping someone would know how I can make this change using the stylesheet.

I would like to change the width of my main wrapper to be 100%. It's currently:

#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 850px;
vertical-align: top;
border: 1px solid #cccccc;

The problem is, is when I change it to 100% my logo wrapper is distorted. That is, the pictures I have in the wrapper repeats. Anyway to fix this without having to go back to the drawing board and having to redo the logo wrapper. It is currently 850px by 110px

thanks!

22 Jun 2009, 4:14 PM
#2
limelites avatar

limelites

Totally Zenned

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

Re: Changing width of wrapper changes logowrapper

In your #logoWrapper, where the stylesheet specifies the URL to your logo, just add a new line;

background-repeat: no-repeat;

22 Jun 2009, 5:11 PM
#3
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Changing width of wrapper changes logowrapper

thank you!!

22 Jun 2009, 5:26 PM
#4
limelites avatar

limelites

Totally Zenned

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

Re: Changing width of wrapper changes logowrapper

You're welcome.... I looked at your site there though.... Can't see why you'd want to use a #mainWrapper 100% width? This will make your site look very stretched and unprofessional on wider screens.

24 Jun 2009, 1:30 PM
#5
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Changing width of wrapper changes logowrapper

Hi,

can't get it to look right anyway. the logo wrapper doesn't repeat, but leaves a bit white space on the right of the screen...that is the logo does not 'stretch' with the enlargment of the site.

thanks for the tip!

Michele

24 Jun 2009, 3:53 PM
#6
limelites avatar

limelites

Totally Zenned

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

Re: Changing width of wrapper changes logowrapper

In that case, just replace your logo image with this one and then try the 100% width settings again:

http://www.limelites.co.uk/Thrift4kids_header2.jpg

http://www.limelites.co.uk/Thrift4kids_header2.jpg

Took me literally 20 seconds to make it wide enough to suit all screen sizes :cool:

25 Jun 2009, 12:22 PM
#7
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Changing width of wrapper changes logowrapper

thank you so much, you are awesome. sorry for the late reply, having problems with my site it's been down since yesterday :(

thanks again....i appreciate it!!!

25 Jun 2009, 12:29 PM
#8
limelites avatar

limelites

Totally Zenned

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

Re: Changing width of wrapper changes logowrapper

I noticed your site was down, have you still not resolved that?
**
Warning: Unterminated comment starting line 101 in /home/thrift4/public_html/index.php on line 101**

Do you have a backup copy of your index.php file??