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;} */ |
Why not
HTML Code:
body.page-id-1020 {background-color:#ff0000;} |
Hey Juggledad!
I just want the bar to change. I have a special image for the pages. |
What bar do you want to change
|
Its bar1
but iIt would be the same code for bar2 or? |
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 |
I have found them No problems.. I just want to know how to get the cod to specific change the bar for some pages. I use ATAs Header Horizontal Bar1 styling I Think...
|
You can use ATAs Header Horizontal Bar1 styling for teh default then add code into the CSS Inserts option using the 'body.page-id-nnnn' as the first part of the CSS selector. This will cause the rule that follow to only apply on page 'nnnn'
|
Ok as there are 15 pages I then have to select all in the CSS insert as I understand You. I thought there were an easier way.
Thank You. As usaual you make a good support for ATA |
All times are GMT -6. The time now is 08:13 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.