Hey All,
I am using Dawn Theme.
I’m trying to scale up the Logo on my header. Since there is no slider on the mobile screen for that.
And there is a maximum size in the logo image that i can upload. I need the Logo to be larger.
Imporant: I Need it to be larger for the mobile version of my shop.
URL: https://derstacheldraht.com/
I’ve tried a few codes from other discussions in base.cc but they did nothing.
Thank you in advance!
1 Like
Hi @AndreyGutthard
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > main.css and paste this at the bottom of the file:
@media (max-width:767px){
.header__heading-logo {
width: 350px!important;
max-width: initial!important;
}
}
1 Like
Hi @AndreyGutthard ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin → Online store → Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.
.header__heading-link.link.link--text.focus-inset {
padding: 0;
scale: 1.5;
margin-right: 50px;
}
@media (max-width: 768px) {
.header__heading-link.link.link--text.focus-inset {
padding: 0;
scale: 1.65;
margin-right: 25px;
}
}
In this step, you can chage scale to scale up your logo in header for desktop and mobile view
Step 3: Save your code and reload this page.
=>> The result is:
#Desktop view:
#Mobile view:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day!
1 Like
HI @AndreyGutthard
Please add this code to theme.liquid file, after
1 Like
Hello @AndreyGutthard
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css, styles.css, custom.css or theme.scss.liquid
Step 3: Insert the below CSS at the bottom of the file → Save
@media screen and (max-width: 500px) {
.header-wrapper .header {
grid-template-columns: 1fr 4fr 1fr;
}
.header-wrapper .header .header__icon,
.header-wrapper .header .header__icon--cart .icon {
height: 3.4rem;
width: 3.4rem;
}
}
See image.
Best Regards,
Dws_pvt_ltd
2 Likes
This one worked well. I went with 250px. Thank you so much for the fast reply.
1 Like
Hi @AndreyGutthard
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.
1 Like
Awesome this worked aswell! thank you