I'm a php retard....

Status
Not open for further replies.

imincognita

New member
Aug 6, 2008
107
4
0
I've been shitting around with this for two days, and hosed the site once already. I need just one page of a three column themed site to be full width. I've eliminated both sidebars from that single page, but now I need to expand the content to fill the page. Can I do that by adding a condition tag to the page.php without having to mess with the stylesheet? (which is what I was screwing with when I hosed the site)
 


um you mean you want to do an if statement and fill up the div on a condition? its not a php question its a css or html question your asking
 
Can I do that by adding a condition tag to the page.php without having to mess with the stylesheet? (which is what I was screwing with when I hosed the site)
Probably not, I assume your talking about wordpress. The css is whats controlling the width. You'll need create a page template and change the the div ids. Then set the widths and everything in the css file.
 
Probably not, I assume your talking about wordpress. The css is whats controlling the width. You'll need create a page template and change the the div ids. Then set the widths and everything in the css file.

Thanks. (That's what I was afraid of.)
 
This is just a page right? Not a page containing posts?
Either way, PM me a link to the site and I'll see if I can walk you through it. It's really not that difficult.
 
Thanks. (That's what I was afraid of.)

Its a matter of going into your theme's template folder (if wordpress), and modifying either the style.css or both the style.css and index.php.

I modify wordpress themes and widgetize them (so that you can make more sections of a theme controlable by widgets), so quite familiar with this.

Usually what you wana do is modify the wrap or main container to be a fluid width. But you may also have to modify the center column to be fluid as well, otherwise they still appear fixed in width.
 
Thanks to abhorrent, this problem is no longer a problem.

But thanks to everyone that took the time to reply. I don't think I would have figured this one out without the help.
 
Now, go find 3 more WP themes and see if you can do the change yourself.

I intend to do just that. I learned a lot today.

And for any other noobs reading this.... I knew literally nothing when I started this in August. I'm not a fluent coder, but I've still managed to build five sites, and two of them might actually make some money. Truly, read everything you can in these forums and get your ass out there and just do it.
 
Status
Not open for further replies.