Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
How to make logo scale to fit properly on mobile? Dawn V11.
Kooks good on desktop but not mobile!
My site:
https://ec6bc3-2.myshopify.com/
PW
eawhup
Solved! Go to the solution
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file.
@media (max-width: 767px){
.header-wrapper header.header {
padding-top: 20px;
}
h1.header__heading {
margin-left: 0!important;
}
a.header__heading-link.link.link--text {
margin-left: 0!important;
}
.header__inline-menu {
top: -6px;
}
}
If this does not work try this also
OR
Paste this theme.liquid before </body> tag
<style>
@media (max-width: 767px){
.header-wrapper header.header {
padding-top: 20px;
}
h1.header__heading {
margin-left: 0!important;
}
a.header__heading-link.link.link--text {
margin-left: 0!important;
}
.header__inline-menu {
top: -6px;
}
}
</style>
your header look like that
This is an accepted solution.
Thank you! That worked!
Its Artzen Technologies! We will be happy to help you today.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
@media (max-width: 767px){
.header-wrapper header.header {
padding: 10px 20px;
}
.header__icon svg.icon.icon-hamburger {
display: block !important;
}
h1.header__heading {
margin-left: 0px !important;
}
nav.header__inline-menu {
display: none !important;
}
.header__icons details-modal.header__search {
display: block !important;
}
}
Let me know if need further assistance
Regards,
Artzen Technologies
Hello!
Thank you for your support! Unfortunately, that didn't work. I pasted the code to the bottom of the base.css. It also add a hamburger menu which I do not want.
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file.
@media (max-width: 767px){
.header-wrapper header.header {
padding-top: 20px;
}
h1.header__heading {
margin-left: 0!important;
}
a.header__heading-link.link.link--text {
margin-left: 0!important;
}
.header__inline-menu {
top: -6px;
}
}
If this does not work try this also
OR
Paste this theme.liquid before </body> tag
<style>
@media (max-width: 767px){
.header-wrapper header.header {
padding-top: 20px;
}
h1.header__heading {
margin-left: 0!important;
}
a.header__heading-link.link.link--text {
margin-left: 0!important;
}
.header__inline-menu {
top: -6px;
}
}
</style>
your header look like that
This is an accepted solution.
Thank you! That worked!
Please accept my solution not your reply
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025