Width of page issue

Locked

Views: 1,029

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

laurahowes

New Zenner

Join Date:
Jan 2008
Posts:
64
Plugin Contributions:
0

Width of page issue

Here is my site: https://www.LankyLizards.com (running ver 1.3.8a).
Here is a page that is a wider width: http://lankylizards.com/registry.php

Yes, I am using a template from Template Monster. :blink: Seriously, I haven't had any issues with this.

I can't figure out how to apply the rest of the site's width to this extra page created, although I did figure out how to apply the background and formatting. I am still learning. I assume this is a CSS issue?

Any clues?
THANKS!

29 Jun 2009, 3:35 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Width of page issue

I'd call this a TM issue, but ...

In stylesheet_tm.css, find this and change the width to more px, or a %

.main_bg {margin:auto; width:766px;}

In a non-TM template, this would be set in #mainWrapper.

29 Jun 2009, 3:45 PM
#3
laurahowes avatar

laurahowes

New Zenner

Join Date:
Jan 2008
Posts:
64
Plugin Contributions:
0

Re: Width of page issue

Thanks for your reply!
I'm going to play with it, but I don't know what to change it to. Since it is already set to 766 px and that is what the width I want, what should I change it to?
I don't know how to apply this formatting to the /registry page. ?

29 Jun 2009, 3:47 PM
#4
laurahowes avatar

laurahowes

New Zenner

Join Date:
Jan 2008
Posts:
64
Plugin Contributions:
0

Re: Width of page issue

OK, changing that line applies to the whole of my site, but not the /registry page.

Trying to figure out why...

29 Jun 2009, 4:14 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Width of page issue

The registry.php page you pointed to (which I don't see any way to get to from the main page - 'gift registry' takes me somewhere else) has an extra div called registryBody, which is probably where the width is being set.

29 Jun 2009, 4:24 PM
#6
limelites avatar

limelites

Totally Zenned

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

Re: Width of page issue

#mainWrapper { stylesheet_tm.css (line 41)
float:inherit;
padding:30px 15px;
width:766px; <----add this line
}

this sorts the width... will look later at centering...

29 Jun 2009, 4:33 PM
#7
limelites avatar

limelites

Totally Zenned

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

Re: Width of page issue

Actually, this will sort you right out:

#mainWrapper { stylesheet_tm.css (line 41)
float:inherit;
margin:0 auto; <--- add this line
padding:30px 15px;
width:766px; <--- add this line too
}

29 Jun 2009, 4:59 PM
#8
laurahowes avatar

laurahowes

New Zenner

Join Date:
Jan 2008
Posts:
64
Plugin Contributions:
0

Re: Width of page issue

limelites:

Actually, this will sort you right out:

#mainWrapper { stylesheet_tm.css (line 41)
float:inherit;
margin:0 auto; <--- add this line
padding:30px 15px;
width:766px; <--- add this line too
}

Lovely! Thank you.
Still too wide on the 'Create Registry' page, but I think the table html is forcing it... have to adjust.

Steve, yes, there are no links to the Registry page from my main site yet... I don't want to send anyone there till it is fully functional, which it isn't yet.