New Shopify Certification now available: Liquid Storefronts for Theme Developers

Logo Bigger on Mobile Device DAWN

jameschef86
New Member
23 0 0

I've tried a few times to get this to work. My logo in the header of my website is great on my laptop at home, but on the mobile its about 50 percent too small. I'd like to exactly double it in size on mobile. 

 

I tried some code last time in the base.css but it just flattened the logo and made it larger. I would to scale it up exactly 100 percent.

 

hudsonmealco.com

password is "password"

 

Thanks

Replies 5 (5)
David_SHT
Trailblazer
605 123 123

Hi @jameschef86 

This is David at SalesHunterThemes.
To increase the header logo size on mobile

Follow this path:

Themes => edit code => asset => base.css

and add this code to bottom of the file base.css

 

@media(max-width: 749px){
.header {
padding-inline: 10px;
grid-template-columns: 1fr 5fr 1fr;
}
}

 

We create fast Shopify themes, focusing on exceptional performance and seamless experience across all devices.

Try our Electro theme Free! (Now at Black Friday price)

ZenoPageBuilder
Shopify Partner
847 151 169

Hello @jameschef86 👋

You can add this code to base.css

@media (max-width: 989px) {
    .header__heading-link {
        padding: 0;
        margin: 0 -16px;
    }
}

The result

Screenshot 2023-10-16 at 08.45.08.png

Hope that helps!

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
eFoli-Marvic
Shopify Partner
214 40 38

@jameschef86 

 

 add this code to your base.css file.

Navigate to the online store >> Click edit theme code.

Now find base.css and paste the following code:

@media(max-width:980px){
.header {
    padding-inline: 5px !important;
    grid-template-columns: 1fr 7fr 1fr !important;
}
}
Marvic | EFOLI
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our apps:Inkybay || MultiVariants
jameschef86
New Member
23 0 0

This code seemed to work the best, but there was this line that is now there between the picture. Any way to get rid of that? Much thanks!

 

B5EEC4D5-BCA6-4172-81FF-0B65D2229A92.jpeg

 

eFoli-Marvic
Shopify Partner
214 40 38

@jameschef86 

 

To get rid of the line please add the code into base.css file

@media(max-width:980px){

.section-header.shopify-section-group-header-group{
    margin-bottom: 0 !important;
}
}
Marvic | EFOLI
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our apps:Inkybay || MultiVariants