Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Hide center column on one page


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 22, 2012, 05:27 PM
shallowmeya
 
4 posts · Apr 2012
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!
  #2  
Old Apr 22, 2012, 05:34 PM
shallowmeya
 
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.
  #3  
Old Apr 22, 2012, 06:24 PM
juggledad's Avatar
juggledad
 
22,045 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

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 06:34 PM
BUG? Page Not Found when Trying to Update Center Column therhythmcenter Center area post/pages 1 May 10, 2010 11:11 AM
Exclude center column content from a page? adri Center area post/pages 1 Mar 4, 2010 04:33 AM


All times are GMT -6. The time now is 05:57 PM.


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