Hide center column on one page
Hi there,
I made a new static page to use as the front page, and I want to hide the center column (the one that contains all the posts) only on that page. I already set up a different page as the posts page, so the content of the center column isn't showing up on the front page. However, the box/container for the center column is still there and it's displacing my sidebars. I temporarily added CSS to hide the center column -- I used display: none; -- which worked for my front page, but now the center column disappeared from every page! I feel comfortable enough getting into the theme files and editing them manually, but I'm just not sure where to go to specify that I only want the center column hidden on the front page. Here's the site: elizabethpovinelli.com As you can see, if you click on "blog" there is nothing there... Thanks in advance for your help! |
Nevermind, I figured it out! This is probably not the most legitimate way to do it, but I just deleted the center column cell... so I took <td id="middle"> out of the bottom of the header and </td> out of the top of the footer.
|
the way to do it with CSS would have been to prefix your selector with 'body.page-id-xx' where xx is the id of the page, then the css would only apply to that page.
but there are many wayes to skin a cat. :) |
All times are GMT -6. The time now is 07:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.