Shopify themes, liquid, logos, and UX
Hi all, i'm looking a way to move my menu bar under the announcment bar
This is my actual condition
- announcment bar
- logo etc
- menu
But i would like to have it as
- annoucment bar
- menu
- logo etc
Thanks if helping
Sense Theme 2.0
Solved! Go to the solution
This is an accepted solution.
Hi @stefanensko
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (min-width: 990px) {
.header--top-left, .header--middle-left:not(.header--has-menu) {
grid-template-areas:
"navigation navigation"
"heading icons";
}
.header predictive-search {
top: 90px;
}
}
</style>
And Save.
Result:
@stefanensko - please add this css to the very end of your base.css file and check
@media screen and (min-width: 990px){
.header{grid-template-areas: "navigation navigation" "heading icons";}
.header predictive-search{top: 89px;}
}
This is an accepted solution.
Hi @stefanensko
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes"
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media screen and (min-width: 990px) {
.header--top-left, .header--middle-left:not(.header--has-menu) {
grid-template-areas:
"navigation navigation"
"heading icons";
}
.header predictive-search {
top: 90px;
}
}
</style>
And Save.
Result:
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024