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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024