Shopify themes, liquid, logos, and UX
Hi,
I was wondering if anyone could help as I seem to be facing issues when making minor CSS changes to my site. Essentially I would like to reduce the margin of a section on my website from 75px to 35px (see attached image).
I am adding the following code to my theme.css but nothing seems to be changing? For reference I am using the Impulse v5.5.0 (Shopify 2.0 Version).
.shopify-section-template--15698490556646__16447955234b11503c {
margin-top: 35px;
margin-bottom: 35px;
}
Link to store: https://yauf13x7cit8nm42-43092279457.shopifypreview.com
Any help would be much appreciated.
@ClarityStudio you are almost correct but "shopify-section-template--15698490556646__16447955234b11503c" is id not class name so you need to add # instead .
so this would be the css
#shopify-section-template--15698490556646__16447955234b11503c {
margin: 35px 0;
}
Hi Kazi,
Many thanks for your response - I realised I added the '.' instead of '#' but still no luck even with the correct bit of code. For some reason it looks like any css changes I add to my theme.css file do not show up. Have you experienced this before?
Here's how I added it (at bottom on line 11374):
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