Help with Sticky Header in Dawn Theme

Hi, I know there’s a setting for a sticky header in the Dawn theme, but it doesn’t seem to be working. Is there any code I can add to make the header sticky for both scrolling down and up?

STORE https://timecraft.se/

Hello @edwinsoltan ,

I suggest trying to find out why the existing option is not working.

btw as I checked I found an issue in the console ( JS conflict ) trying to revert the changes you did in the JS file or the JS code you added in any file. Hopefully it will fix the issue.

If problem solved don’t forget to Like it and Mark it as Solution!
And if you need help with customization/code part you can contact me for services

You can find the email in the signature below.

Thanks

1 Like

Hi, thanks for your response! Could you help me identify which specific file might be affected? If I’ve accidentally modified some code, my plan is to reset it to its original state. Do you know which file I should check or reset to resolve the issue?

File location is not available in the console.
Just a error is visible there

Uncaught SyntaxError: Unexpected token ‘;’

Check the JS you added and find where you missed the syntax ‘;’

1 Like

Thank you! Could you help me by providing a custom CSS code for the “rich section” to make the text align completely to the left corner? Currently, it stops a few pixels away from the border. Additionally, is it possible to apply this only to a specific rich text section?

Thank you so much for all the help you’ve provided—I really appreciate it!

1 Like

Yes possible, please use this css in base.css to align left the product page rich text

#shopify-section-template--23635290325340__rich_text_Wn7Qwz .rich-text__wrapper {
    justify-content: left;
}

Hi, it did not work