Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Hide center column on one page

Old Apr 22, 2012, 06:27 PM
4 posts · Apr 2012
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!
Old Apr 22, 2012, 06:34 PM
4 posts · Apr 2012
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.
Old Apr 22, 2012, 07:24 PM
juggledad's Avatar
23,697 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Center column widgets only on home page? rocksrock Sidebars & Widgets 2 Oct 30, 2010 07:34 PM
BUG? Page Not Found when Trying to Update Center Column therhythmcenter Center area post/pages 1 May 10, 2010 12:11 PM
Exclude center column content from a page? adri Center area post/pages 1 Mar 4, 2010 05:33 AM

All times are GMT -6. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.