Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] header per page solution didnt work (http://forum.bytesforall.com/showthread.php?t=19173)

wissevdm Dec 21, 2012 04:12 AM

[SOLVED] header per page solution didnt work
 
Hi,

I am trying to get a specific header image per page/post and in this thread http://forum.bytesforall.com/showthread.php?t=4389 the suggestion was made to use a plugin called: dynamic headers.

I have tried it, copied the code into the ATO,Configure Header Area box
and set the minimum of CSS insert, of course installed plugin and made the extra folder needed and set up the permissions on it. I uploaded some headers in it, but none show up if i select them with a new page or amend an old one.

any ideas?

www.femverkoopstyling.nl

juggledad Dec 21, 2012 04:39 AM

what part of that threas did you use? there are several suggestions.
do you just wnt different images or do you want different images that each link to a different place?

wissevdm Dec 21, 2012 05:04 AM

hello,

I would like to have specific images show up on specific pages. i used the way which requires the installation of the dynamic headers plugin.

I installed the pluginn, made the requied folder and put some images in there.

I insterted the following into the configure header area
<div id="dheader"><?php if(function_exists('show_media_header')){ show_media_header(); } ?></div>

and i added to the ATO>Add HTML/CSS Inserts>CSS Inserts
#dheader { overflow: hidden; }

I made a new page to test, selected an image in a new page and published it. no images show up.

juggledad Dec 21, 2012 05:13 AM

why not try this: HOWTO: have one header image on one page, and another image on another page

wissevdm Dec 21, 2012 05:22 AM

I will give it a try, thank you very much. that looks pretty easy since i dont expect to have more then a few pages and categories.
How do you have a static homepage though?
you posted this in the other thread. does that solve the problem? (of course i change the ID to the one thats my home page.)

body.home div#imagecontainer,
body.page-id-88 div#imagecontainer {
background-image: url(http://yourdomain.com/wordpress/wp-c...r/homepage.jpg) !important;}
background-image: url(http://yourdomain.com/wordpress/wp-c...r/homepage.jpg) !important;}


Thanks alot :) really appreciate it

juggledad Dec 21, 2012 05:41 AM

if you put one image in the atahualpa/images/header folder, that will be the default image and show on any page you don't use the css for. :)

wissevdm Dec 21, 2012 05:45 AM

i love your brain :)

thanks


All times are GMT -6. The time now is 10:43 AM.

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