Personalized checkout and custom promotions with Shopify Scripts
Hey all,
Slightly panicked here... I was attempting to add a sticky header from this tutorial https://community.shopify.com/c/Shopify-Design/Sticky-Fixed-Header-and-Navigation-for-Debut-Theme/td... and I'm pretty sure I did something bad because my site now looks like this knittinknot.com and I have no clue how to fix it....
EDIT
Sorry guys, I accidentally deleted the ending carat... just a noob here carry on.
Hi, @eKing20!
Ash here from the Shopify team. It’s great to hear that you were able to identify and resolve the issue!
Moving forward, I have some tips which can help prevent these types of stressful situations in the future. Whenever making code customizations on a theme, I suggest making a duplicate of your theme to use as a backup. Here is a link to our Help Center with some information on duplicating themes. When you duplicate a theme, the duplicate will appear in your list of themes in Online Store> Themes as “copy of (theme name)”. You can then publish that theme, or use it as a point of reference to see what the code looked like prior to customizations.
Another handy tip is knowing how to roll back sections of code that have had changes made to them. In this help document here, you can find information on editing your theme code, as well as reverting sections back to older versions. When reverting sections of a themes code, a drop-down menu shows the date and time for each save that you've previously made, including the original version.
Let me know if you have any questions about the above processes, or would like any additional assistance or tips.
To learn more visit the Shopify Help Center or the Community Blog.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024