All things Shopify and commerce
hi guys, can someone help to increase the height of header in mobile view only. as in screenshot below. logo is looking very tight on top and bottom margin... in desktop view its ok but in mobile it is not great. is there anyway to creat a gap between top and bottom margin in Header Logo?
url - deshoeshop com
Solved! Go to the solution
This is an accepted solution.
Is this good?
Navigate to the code editor: Online store --> Themes --> Edit code --> assets --> base.css. Add the following to the end of the file:
@media screen and (max-width: 990px) {
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
This is an accepted solution.
Is this good?
Navigate to the code editor: Online store --> Themes --> Edit code --> assets --> base.css. Add the following to the end of the file:
@media screen and (max-width: 990px) {
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
Hi @DSS5
Try this one.
@media only screen and (max-width: 989px){
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
padding: 20px;
}
}
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