Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Hide center column on one page


  #1  
Old Apr 22, 2012, 05:27 PM
shallowmeya
 
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!
  #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
 
23,765 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

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:10 PM.


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