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 »

[SOLVED] Separate Headers for Posts and Pages


  #1  
Old May 18, 2010, 03:56 PM
arothafel
 
19 posts · Mar 2010
Well... sorry to open this again, but... I wonder if there is a way to consolidate the code for all the separate page headers (I'm going to have more than 100). Like maybe a way to line list of pages for the separate header. As of now, my CSS/HTML inserts look like this (which is mostly duplicate code) Any ideas? Thanks in advance, -- Art

HTML Code:
body.page-id-629 div#myimage,
body.page-id-842 div#myimage,
body.page-id-855 div#myimage,
body.page-id-861 div#myimage,
body.page-id-878 div#myimage,
body.page-id-886 div#myimage,
body.page-id-901 div#myimage,
body.page-id-918 div#myimage,
body.page-id-924 div#myimage,
body.page-id-962 div#myimage,
body.page-id-976 div#myimage,
body.page-id-980 div#myimage,
body.page-id-1001 div#myimage,
body.page-id-1008 div#myimage,
body.page-id-1017 div#myimage,
body.page-id-1030 div#myimage,
body.page-id-1041 div#myimage,
body.page-id-1076 div#myimage,
body.page-id-1136 div#myimage,
body.page-id-1146 div#myimage,
body.page-id-1154 div#myimage,
body.page-id-1163 div#myimage,
body.page-id-1168 div#myimage,
body.page-id-1255 div#myimage { 
background-image:url('http://blog.privatelabelfitness.com/wp-content/themes/atahualpa/images/WM_Banner_01.jpg') !important;
position:relative;
margin:0;
padding:0;
height:75px;

}
body.page-id-629 div#imagecontainer,
body.page-id-842 div#imagecontainer,
body.page-id-855 div#imagecontainer,
body.page-id-861 div#imagecontainer,
body.page-id-878 div#imagecontainer,
body.page-id-886 div#imagecontainer,
body.page-id-901 div#imagecontainer,
body.page-id-918 div#imagecontainer,
body.page-id-924 div#imagecontainer,
body.page-id-962 div#imagecontainer,
body.page-id-976 div#imagecontainer,
body.page-id-980 div#imagecontainer,
body.page-id-1001 div#imagecontainer,
body.page-id-1008 div#imagecontainer,
body.page-id-1017 div#imagecontainer,
body.page-id-1030 div#imagecontainer,
body.page-id-1041 div#imagecontainer,
body.page-id-1076 div#imagecontainer,
body.page-id-1136 div#imagecontainer,
body.page-id-1146 div#imagecontainer,
body.page-id-1154 div#imagecontainer,
body.page-id-1163 div#imagecontainer,
body.page-id-1168 div#imagecontainer,
body.page-id-1255 div#imagecontainer {
display:none;

}
  #2  
Old May 20, 2010, 05:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
that is consolidated. since you want to assign something PER PAGE you have to name the page in the CSS Selector. Other than that you would have to edit the php and add an condition clause FOR EACH page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 20, 2010, 11:18 AM
arothafel
 
19 posts · Mar 2010
O.K. Thanks JD,

I guess I was hoping for something like:

body.page-id-629, 842, 855, 861, 878, div#imagecontainer, and so on.....

Thanks and I we can close this one.... again!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding space in category meny bar + separate RSS for separate categories? jenny_li Page & Category Menu Bars 2 May 10, 2010 05:57 AM
[SOLVED] Separate Headers for Posts and Pages arothafel Header configuration & styling 11 May 9, 2010 01:03 PM
Making separate pages to display posts by category; also, how to embed WP page Eric Bobrow Atahualpa 3 Wordpress theme 1 Dec 2, 2009 12:34 AM
Post headers on homepage - Link to pages instead? ray-zin Atahualpa 3 Wordpress theme 4 Mar 11, 2009 03:45 PM
Static Home page, separate tab for posts pbravin Page & Category Menu Bars 1 Feb 24, 2009 07:55 AM


All times are GMT -6. The time now is 02:31 AM.


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