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

Show Inner Right Sidebar on only one specific page?


  #1  
Old Nov 17, 2011, 05: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, 05:50 AM
juggledad's Avatar
juggledad
 
23,730 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 10:20 AM.
  #3  
Old Nov 17, 2011, 10:00 AM
juggledad's Avatar
juggledad
 
23,730 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, 10: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, 10: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, 10: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, 10:34 AM
juggledad's Avatar
juggledad
 
23,730 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 01:07 PM
Disabling sidebar for specific post-page vi8084 Sidebars & Widgets 3 Mar 10, 2010 05: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 05:36 PM
Page-specific links on sidebar scmittal Sidebars & Widgets 1 Jul 22, 2009 06:52 AM
How to disable sidebar(s) for specific page/page? gesman Sidebars & Widgets 3 Feb 8, 2009 10:05 PM


All times are GMT -6. The time now is 11:07 PM.


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