Tagged: sticky header
- March 3, 2020 at 12:04 am #14084
In the polestar theme, is there a way to change the logo in the sticky header when the user scrolls down.
March 3, 2020 at 6:42 pm #14090
- This topic was modified 2 years, 3 months ago by Shelly Dillon.
Thanks for reaching out.
It’s possible. I’ll be able to reply further tomorrow with a customized solution.March 5, 2020 at 3:22 pm #14106
Hi, please, see the function here https://purothemes.com/documentation/polestar-wordpress-theme/advanced-customisations/#heading-sticky-logo.
You’ll need to install the plugin Code Snippets. At the bottom of the section, I’ve linked above is a Code Snippets import file. Import the function into Code Snippets, set to run on the site front-end, save and activate. Next, insert the CSS provided in the documentation at Customize > Additional CSS or Appearance > Custom CSS. Finally, follow the documentation instructions to change the two image URL’s, alt tags and
max-width.March 5, 2020 at 6:13 pm #14107
I appreciate your reply. The code works and the logo change is working.
Thank you.March 6, 2020 at 9:18 am #14108
Glad that helped 🙂
The topic ‘Different logo on Sticky header’ is closed to new replies.