How do I find a section ID in Shopify, like a footer?

Legalafrik
Tourist
25 0 3

How can I get the ID of a particular section that for instance a footer in shopify

Reply 1 (1)

LuffyOnePiece
Shopify Partner
521 78 96

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

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184