[SOLVED] Varying how header image/menubar being displayed depends on what page
Hi all,
Does any of you know how to achieve this: - Page1 show header image+menu bar - Page2 show none - Page 3 show header image only This problem has been haunting me for a long time, love to donate. Any help is appreciated, thanks in advance. |
It might help if you are a little clearer with your question.
There is another recent thread about customising your index.php, that is probably a good place to start. |
you can use CSS to cause different areas to display or not based on the <body> and it's classes and using the CSS rule 'display:none;'
you would use something like HTML Code:
body.page-id-33 #menu1 {display:none;} |
Would it be possible to use configure header area?
Now to make page 2 show nothing I use: <?php if ((! is_page('page2'))){echo '%logo %pages %image %cats' ; } ?> The rest, page 1 and 3 showing all of them. How to make page 3 show %image only? |
You can do this with pure CSS. in the 'Configure Header Area' put
HTML Code:
%logo %pages %image %cats HTML Code:
body.page-id-2 #logoarea {display:none;} HTML Code:
body.page-id-2 #logoarea {display:none;} |
Thanks juggledad, I really appreciate it and have made a small donation. Thanks again, it really helps
|
All times are GMT -6. The time now is 10:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.