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 »

[SOLVED] assign bar1 and/or bar2 only to specific pages


  #1  
Old Feb 6, 2014, 06:32 PM
ericnl
 
21 posts · Feb 2014
[SOLVED] assign bar1 and/or bar2 only to specific pages

as it says in the title: is this possible?

I want to have some content that only shows up at the top of my home page, above the blogroll post, and I figured the way to do this would be to pin bar1 to the home page only.

any tips?
  #2  
Old Feb 6, 2014, 06:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
hide it with CSS using 'body.page-id-xx' as the start of your CSS selectors
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 6, 2014, 06:51 PM
ericnl
 
21 posts · Feb 2014
so if I add this to my custom CSS it might work:?


body.home div#bar1





(it's too late to thinks straight right now, might have to look at it tomorrow)
  #4  
Old Feb 7, 2014, 02:57 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Did you try it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 7, 2014, 04:35 AM
ericnl
 
21 posts · Feb 2014
yes I did, also with a ";" at the end, because it seemed like I forgot that

body.home div#bar1;
  #6  
Old Feb 7, 2014, 05:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You have no CSS rules, that is only a CSS selector. Without the rules it won't do anything.
__________________
"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
[SOLVED] Suggested bugfix for %bar1 and %bar2 flyboy Header configuration & styling 1 Jan 7, 2013 03:22 AM
PATCH 3710-02: fix small extension of %bar1 and %bar2 juggledad Old Version fixes and change logs 0 Jan 7, 2013 03:21 AM
[SOLVED] bar1 and bar2 are not working dinoc Center area post/pages 6 Oct 12, 2010 01:18 PM
Using bar1 or bar2 for Javascript? paulae Header configuration & styling 3 Sep 30, 2009 11:47 AM
Minimum size for bar1 / bar2 in windows? mcphoto Header configuration & styling 2 May 11, 2009 03:36 PM


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


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