Currently we have our site setup with our logo in the centre over top of a header image followed by the main menu and an advertising banner. We like the look of it on the main page but want to know if it’s possible to change this look on secondary pages where we may not want the huge header as we have on the main page?
We aren’t programmers and know very little about how the backend process works so please let us know what we need to do step by step if possible.
Hi,
I understand that you use header style 3, but I don’t know what you want to not display on the other pages/posts.
For example if you want to use header style 3 on homepage and not display banner on the other pages and posts you have to edit header.php and use condition if (is_front_page()) like this: http://screencast.com/t/xUFzgXJyLS
Result:
-Homepage: http://screencast.com/t/wubvEaDuMg0
-Posts, Categories and other pages: http://screencast.com/t/zYIHwjskLck
Please provide more details, if this is not what you want to do.
Hope this helps!
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Close you’re on the right track. The section I’m talking about it the header with our logo. On the front page we are ok with having it large but we’d like to have it so maybe we can use the banner version of our logo with a smaller header space on subsequent pages and posts. Is that possible to do or would that be too complex?
Hi,
Please use the same condition like above but to the header style that you use and add also else including there header style that you want to use on other pages: http://screencast.com/t/3PDeShhA
Homepage: http://screencast.com/t/ysI5ya4wxV
Post: http://screencast.com/t/YhgL0yygUI5L
Thanks!
Hello,
Maybe this will help: https://codex.wordpress.org/Function_Reference/is_category
Thank you!
