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 » Sidebars & Widgets »

Show Inner Right Sidebar on only one specific page?


  #1  
Old Nov 17, 2011, 04:00 AM
joe hark
 
168 posts · Feb 2009
How can I do that?

I can see ATO controls to add that sidebar to all pages but do not know how to show on only one page.

Suggestions, please?
  #2  
Old Nov 17, 2011, 04:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
here is what you do.
1) go to ATO->Style & configure SIDEBARS->RIGHT INNER sidebar: Display on: and turn it on for all pages or just the 'Single Posts' and make note of the 'RIGHT INNER sidebar WIDTH'

2) find the post ID number (edit the post and look at the address, the last part is the ID number)

3) add the following to the CSS Inserts
HTML Code:
.colthree-inner {width:0px; display:none;}
td#right-inner {display:none;}

body.postid-2460 .colthree-inner {width: 200px; display: table-column;}
body.postid-2460 td#right-inner {display: block;}
make sure to change the post ID number to your post and the width to your width
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by lmilesw; Nov 21, 2011 at 09:20 AM.
  #3  
Old Nov 17, 2011, 09:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
turns out this can be condensed to the following
HTML Code:
.colthree-inner, td#right-inner {display:none;}

body.postid-2460 .colthree-inner {display: table-column;}
body.postid-2460  td#right-inner {display: block;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Nov 17, 2011, 09:13 AM
joe hark
 
168 posts · Feb 2009
Thanks for the response.

Where in the code do I put the page ID (it happens to be 111)?
  #5  
Old Nov 17, 2011, 09:15 AM
joe hark
 
168 posts · Feb 2009
Oh, and does it matter where in the CSS inserts I put the code?
  #6  
Old Nov 17, 2011, 09:19 AM
joe hark
 
168 posts · Feb 2009
One more thing. I want to donate in appreciation of the help. But although I have done that a number of times in the past, the link to it seems to elude me today. Where is it please?
  #7  
Old Nov 17, 2011, 09:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Where in the code do I put the page ID (it happens to be 111)?
change
HTML Code:
body.postid-2460 .colthree-inner {display: table-column;}
body.postid-2460  td#right-inner {display: block;}
to
HTML Code:
body.postid-111 .colthree-inner {display: table-column;}
body.postid-111  td#right-inner {display: block;}
Quote:
does it matter where in the CSS inserts I put the code?
no, I generally put it at the end
HTML Code:
I want to donate in appreciation of the help...
top of the screen is a yellow 'Click Here to DONATE' link
__________________
"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
Limit Sidebar to Specific Page cab262 Sidebars & Widgets 1 Apr 9, 2010 12:07 PM
Disabling sidebar for specific post-page vi8084 Sidebars & Widgets 3 Mar 10, 2010 04:36 PM
[SOLVED] How to show 1 specific header image on a static page and on Cat. pages Sakshin Header configuration & styling 24 Oct 3, 2009 04:36 PM
Page-specific links on sidebar scmittal Sidebars & Widgets 1 Jul 22, 2009 05:52 AM
How to disable sidebar(s) for specific page/page? gesman Sidebars & Widgets 3 Feb 8, 2009 09:05 PM


All times are GMT -6. The time now is 05:20 AM.


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