Archived topic
How to select a different logo for each page.
3 replies · Started by Ammar on May 11, 2022
Hi there.
I have a 'white logo' which shows fine on my homepage which has an image overlay. i.e. the white logo is visible.
The issue is on pages other than my home, the top bar is white and I'd like to load the 'coloured' version of the logo to ensure the logo is visible on load.
When the user scrolls, the coloured version loads and the logo is visible. It's just the time when the user is at the top of the page and hasn't scrolled.
Hi there,
Since you are using a merged header element on the home page, you can actually use the Site Logo option in that element.
Please refer to the article here. It's mentioned in the last paragraph and also the video:
https://docs.generatepress.com/article/transparent-header-and-navigation/
Perfect, that did it. Thank you Leo.
No problem :)