- This topic has 4 replies, 2 voices, and was last updated 4 years, 9 months ago by Andrew Misplon.
Tagged: sticky header
- AuthorPosts
- March 3, 2020 at 12:04 am #14084
Shelly DillonParticipantHi,
In the polestar theme, is there a way to change the logo in the sticky header when the user scrolls down.
Thanks
March 3, 2020 at 6:42 pm #14090
Andrew MisplonKeymasterHi Shelly
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
Andrew MisplonKeymasterHi, 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
Shelly DillonParticipantHi Andrew,
I appreciate your reply. The code works and the logo change is working.
Thank you.March 6, 2020 at 9:18 am #14108
Andrew MisplonKeymasterGlad that helped 🙂
- AuthorPosts
The topic ‘Different logo on Sticky header’ is closed to new replies.