Shopify themes, liquid, logos, and UX
Hi all,
I want to decrease the announcement bar height.
Any help?
Solved! Go to the solution
This is an accepted solution.
Hey @Carevip,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
You can increase/decrease the bar height by changing the 5px value. Leave the last 0px as is.
<style>
.announcement-bar__item.ff-body.fs-body-small {
padding: 5px 0px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
You can just use the code below to center it. The steps are the same as I mentioned above.
<style>
.header__links-list.fs-body-base {
margin: auto !important;
}
</style>
This is an accepted solution.
It was like that before centering. You should check the theme settings.
In case you cannot find where you set it then apply this code
<style>
.header__links a.active {
opacity: 1 !important;
}
</style>
Hello @Carevip
can you share store URL?
Hey @Carevip,
Can you share the link to your store please? Thanks!
Yup you can change the height of the announcement bar, Which theme you are using , and also could you please share here store link. So i can share the css code for that.
Thanks.
Arraynex- Shopify Partner- Helping eCommerce Stores
Replace apps with copy/paste code snippets. save money - click here.
Need a Shopify developer? Chat on WhatsApp or EMAIL ME!
This is an accepted solution.
Hey @Carevip,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
You can increase/decrease the bar height by changing the 5px value. Leave the last 0px as is.
<style>
.announcement-bar__item.ff-body.fs-body-small {
padding: 5px 0px !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Thank you so much.
Also one more query,
This is my current live store which is old version.
https://vipinners.com/
But the theme got updated, in my new updated theme, the Main Menu is not in center.
Preview Link: https://jwazi9pelgzrz3oy-68518576424.shopifypreview.comhttps://vipinners.com/?_ab=0&_fd=0&_sc=1
Any Idea, Where to find the code in old theme?
In Short, I want my menu in Center/Middle.
This is an accepted solution.
You can just use the code below to center it. The steps are the same as I mentioned above.
<style>
.header__links-list.fs-body-base {
margin: auto !important;
}
</style>
Thank you so much again 🙏
It Worked, but the Categorie menu title are dull in color in new version.
Old Version:
Any idea about this?
This is an accepted solution.
It was like that before centering. You should check the theme settings.
In case you cannot find where you set it then apply this code
<style>
.header__links a.active {
opacity: 1 !important;
}
</style>
Hi,
Its working good, but in mobile view, its not aligned properly in center.
Video Link: https://www.youtube.com/shorts/IWz1v-kda88
Any idea how to fix that?
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