Shopify themes, liquid, logos, and UX
Hi all, I've been trying to reduce the size of the announcement bar on our website (www.plumeskin.com) and for whatever reason all the codes I find on here don't seem to be working when pasted after /body in the theme liquid.
Trying to basically reduce the space between the top and bottom of text by 30% or so. An example of a code I've tried is:
<style>
.announcement-bar__message {
padding-top: 10px !important;
padding-bottom: 10px !important;
}
</style>
Any advice on what to do or why that might not be working would be greatly appreciated. Using the Sense theme.
Solved! Go to the solution
This is an accepted solution.
Hi @LightStyl
div.shopify-section.shopify-section-group-header-group.announcement-bar-section {
height: 24px !important;
}
p.announcement-bar__message.h5 {
padding: 0 !important;
}
.announcement-bar .slider-button {
height: 20px !important;
}
Hi,
It is because you set the height to botton which is not allow you to reduce height of the bar, make change to following height and you should be good:
This is an accepted solution.
Hi @LightStyl
div.shopify-section.shopify-section-group-header-group.announcement-bar-section {
height: 24px !important;
}
p.announcement-bar__message.h5 {
padding: 0 !important;
}
.announcement-bar .slider-button {
height: 20px !important;
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
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