Shopify themes, liquid, logos, and UX
How can I get the ID of a particular section that for instance a footer in shopify
Hi @Legalafrik
There is no real way to see thee section id in the backend of Shopify as it is created using the {{ section.id }} tag in your liquid files. In the frontend, you should be able to see it using the inspector. If you don't them simply update the div tags you want to be able to hide to the following:
<div id="shopify-section--{{ section.id }}">
</div>
Then you can reference it in your css using:
#shopify-section-eg123 {
display:none;
}
Or whatever you would like to assign to that ID.
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024