Making Changes to Navigation Menus on 3rd Party Custom Developed Themes

Making Changes to Navigation Menus on 3rd Party Custom Developed Themes

MoonRoosterLLC
Shopify Partner
7 1 2

I was hired to fix some broken link issues for a client who previously hired another 3rd party dev agency to custom code a theme. Unfortunately, the code is very complex which makes simple navigation changes much more difficult. Does anyone have any advice on how to fix broken links on a custom coded theme developed by someone else?

Brian Lalli
Reply 1 (1)

Liam
Shopify Staff
2873 312 821

Hi MoonRooster,

 

It may be easier to rebuild the navigation component from scratch, especially if the existing code is complex and there's a lack of context on how it's currently working - you could use Dawn's mega menu as a model. You should also avoid hardcoding links into theme code as they could brake and updating links shouldn't involve needing to edit code. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog