How can I keep a logo in the sticky header on Stiletto theme?

I am having issues with the logo on the sticky header on Stiletto theme. My client wants the logo be sticky on the header on desktop, but currently it removes it and just keeps the nav bar.

www.enotecacentro.com.au

Hi @kirsten11123

This is Noah from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Noah | PageFly

Hi @PageFly-Noah , this is wonderful - however it is impacting the mobile version too. Is there a way to only target this to be on desktop?

Also on different sized desktop screens the padding seems wrong. Is there a better option than using vw?

Thank you soooo much for your help. Sincerely appreciated!

Hi @kirsten11123 ,

This is David at SalesHunterThemes.

You can try to follow these steps:

Go to Online Store β†’ Themes β†’ Actions β†’ Edit code.

Go Layout folder β†’ theme.liquid file.

Add the following code in the bottom of the file above tag


If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team

1 Like

Thank you David!!! This is perfect. So so grateful for your help.

1 Like

You’re welcome! I’m glad I could provide the information you needed.

Hi @kirsten11123 Please help me to replace the code above with this new one at the same position to target only larger screen than mobile

@media screen and (min-width: 767px){

}

Also have you made any changes now? because i can see the header is not showing full without any issue