Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
hello, i want to make the height of my announcement bar smaller
this is my website, i want it to look like this:
my website is marcomontesi.com , theme is dawn
Solved! Go to the solution
This is an accepted solution.
Hi @ads18922 ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.announcement-bar .slider-button {
height: 30px !important;
}
p.announcement-bar__message.h5 {
padding: 0;
min-height: unset !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
Hello, @ads18922
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom
.page-width.utility-bar__grid {
padding: 0;
margin: 0;
height: 38px !important;
display: flex !important;
align-items: center;
}
p.announcement-bar__message.h5{
font-weight: 700 !important;
font-size: 15px !important;
}
Thanks!
This is an accepted solution.
Hi @ads18922 ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.announcement-bar .slider-button {
height: 30px !important;
}
p.announcement-bar__message.h5 {
padding: 0;
min-height: unset !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
Hi @ads18922
Do you like the font sizes to change or make the back ground smaller width like the example? If only the font try this one.
p.announcement-bar__message.h5 {
font-size: 1rem !important;
font-weight: 900 !important;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!