Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I reorder sections in a duplicated header liquid file?

How can I reorder sections in a duplicated header liquid file?

korrynf
Excursionist
18 0 4

Hello,

I am trying to reorder the sections within my theme code. I duplicated the header liquid file and tried to reorder using the header-group JSON but it says that the section I created doesn't exist. Can someone help with this?

I may be going about this the wrong way. I am trying to create a secondary menu that is conditional based on collection. For example, I want the menu to change when you go from "Women's" to "Men's". Thank you!

Reply 1 (1)

PageFly-Richard
Shopify Partner
4801 1084 1749

Hi @korrynf 

 

This is Richard from PageFly - Shopify Page Builder App

 

You will need to change the file name of the one you duplicated.

And in that file, head to JSON, you need to change the name, id of the section too.

 

After that you can use it with the new name you've created

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.