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 » Header configuration & styling »

bar colored depending on which page atahualpa shows


  #1  
Old Feb 6, 2014, 04:34 PM
egoph's Avatar
egoph
 
59 posts · Nov 2012
Smile bar colored depending on which page atahualpa shows

It is for 15 static pages of 200
As a test for one page I tried theese two versions
/* <?php if ( is_page('1020') ) { ?>background-color:#ff0000;} ?>
and

is_page('1020') ) { ?>background-color:#ff0000;} */

Last edited by egoph; Feb 6, 2014 at 05:34 PM.
  #2  
Old Feb 6, 2014, 05:58 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Why not
HTML Code:
body.page-id-1020 {background-color:#ff0000;}
__________________
"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 7, 2014, 02:25 AM
egoph's Avatar
egoph
 
59 posts · Nov 2012
Hey Juggledad!
I just want the bar to change. I have a special image for the pages.
  #4  
Old Feb 7, 2014, 02:53 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What bar do you want to change
__________________
"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, 02:57 AM
egoph's Avatar
egoph
 
59 posts · Nov 2012
Its bar1
but iIt would be the same code for bar2 or?
  #6  
Old Feb 7, 2014, 03:09 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
So look at a generated page an find the element and class or ID for that bar.

This is where a code inspector is useful
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
plugin that shows a mobile-friendly version Atahualpa site Carme Plugins & Atahualpa 11 May 3, 2014 07:17 PM
My atahualpa website shows index of/ BobbyHamer Header configuration & styling 1 Jan 27, 2013 11:26 AM
Atahualpa Theme Shows the next page tag at the bottom of the post area Ahmad Center area post/pages 5 May 18, 2012 08:46 AM
[SOLVED] I'd like to link Home page header images to link to different urls depending grnidone Header configuration & styling 7 Mar 10, 2011 12:53 PM
custom image in sidebar depending on page-ID vito Sidebars & Widgets 1 Aug 12, 2009 11:26 AM


All times are GMT -6. The time now is 03:42 AM.


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