Shopify themes, liquid, logos, and UX
Recently, I added a file called 'background-video.liquid' to the sections folder in order to create a section titled 'Video Background.' However, I'm facing an issue where the section doesn't show up in the 'Add Section' dropdown list when navigating to the Customize menu on Shopify. I'm seeking assistance on resolving this matter. Any guidance would be greatly appreciated.
background-video.liquid code: https://pastebin.com/wM45zhBL
LINK: vanishpen.co
Hi @brightnight1012 , In order to show "add section" , you should add the presets attribute to the section schema, this will make your section a dynamic section that you can add anywhere in your theme .
Example:
"presets": [
{
"name": "Announcement bar",
"category": "Text"
}
]
}
Unfortunately, the 'presets' attribute is already included before the 'endschema' in the file. For a detailed view of the code, please refer to this link: https://pastebin.com/wM45zhBL
@brightnight1012 , I tested your section on a couple of themes I have and it seems to work fine.
In the Taste theme – when I click the 'Add Section' button in Customize, nothing happens. There is no "Video Background" appearing. I need to troubleshoot this. Any guidance on how to address and resolve this matter would be greatly appreciated.
EDIT: Now it somehow works... two hours after I implemented it and after about 5 times of logging in and out of the Shopify dashboard.
@brightnight1012 , make sure to make
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024