Resolved

Different logo on Sticky header

Polestar Theme started by Shelly Dillon Mar 3, 2020 4 replies
Shelly Dillon Mar 3, 2020 · 12:04 am #14084

Hi,

In the polestar theme, is there a way to change the logo in the sticky header when the user scrolls down.

Thanks

Andrew Misplon Puro Mar 3, 2020 · 6:42 pm #14090

Hi Shelly

Thanks for reaching out.

It’s possible. I’ll be able to reply further tomorrow with a customized solution.

Andrew Misplon Puro Mar 5, 2020 · 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.

Shelly Dillon Mar 5, 2020 · 6:13 pm #14107

Hi Andrew,

I appreciate your reply. The code works and the logo change is working.
Thank you.

Andrew Misplon Puro Mar 6, 2020 · 9:18 am #14108

Glad that helped 🙂

5 posts
Closed This topic is closed to new replies. Still stuck? Start a new topic in Polestar Theme.