Hi Jörn,
I have enlarge the header image to 300 px on our blog.
Now I would like to include to each main page one special header is this possible with a enlarge header?
Thanks
Christian
Hi Jörn,
I have enlarge the header image to 300 px on our blog.
Now I would like to include to each main page one special header is this possible with a enlarge header?
Thanks
Christian
Dkret adds the page id to the body of every page. The body of your "Fotogalerie" Page has the classnames:
page page-id-19 page-parent page-template page-template-default windows safari
Use the mydkret child theme.
You can add a different header image to every page with using that page-id. With some extra css markup in the style.css:
.page-id-19 #header {
background: #fff url(library/images/bg_header_19.jpg) repeat-x;
text-align: right;
}
You need to add the background images to the images folder of the childtheme.
Hi Jörn,
thanks for the support.
I have try it and it work.
Now I have a new problem :-(. I can change the header of the main page like "Fotogalerie" but not for the subpages like "Ecuador". Is there a possibility to definite the header image for the subpages similar to the main pages automatic?
Of course it is possible to definite it by hand but is a lot of work and a lot of possibilities for mistakes.
Thanks in advance
Christian
PLEASE install Firebug and have a look at the body tag.
You see that the body tag get's some more classe to style the theme (.parent-pageid-19). All Subpages of the page id-19 have this added.
So you have to add the background image to both:
.pageid-19 #header, .parent-page-id-19 #header {
background: url...;
}Hi Jörn,
I am sorry for all this trouble and I am really glad about your great support!
I have now different heater images for different page - this will work really fine!
Now I have a problem with the heater if you choose a category. There I miss the header images. I have search for fix this but I don't found it. I would like to defined one header image for all categories. Please can you help me there one time more.
Thanks
Christian
You have added all your header images inside the dkret3 themes image folder. This is no good practice. Please use the child theme approach and uplaod the images to to child themes images folder.
The problem is that you have uploaded SOME or one background header image to wp-content/uploads/headerimages/. The uploaded images seems to be just spare white. Please remove the folder.
And please learn the use of Firebug. It is really a timesaver. ´
Or just use WordPress themes without modifying them. If you want to have it look the way you want, you need to learn at least a bit of CSS and the use of tools like Firebug. And by the way, it is FUN to work with Firebug.
Thanks Jörn!
I found the solution for the problem and it work know perfect.
Thanks again for your great support
Christian
You must log in to post.