FROM CACHE - en_header

Store logo

Solved
Mavidals
Excursionist
12 1 1

Hey, my logo is too small on desktop and mobile found a way to change the size to make them larger using this code:

.site-header__logo img {
  max-width: 250px!important;
  width: 250px!important;
}

 I want 250px for desktop and 195px for mobile but it does both of them at 250px and its way too big for mobile

I would really appreciate if anyone could help me

 

mavidals.com

Accepted Solution (1)

Accepted Solutions
Mavidals
Excursionist
12 1 1

This is an accepted solution.

Found a solution on https://community.shopify.com/c/Shopify-Design/Logo-Size-on-Debutify-Theme/td-p/623793 used the first codes and the code you gave me, had to add important to yours because the code for mobile override it, didn't think that would actually work, thanks for all your help

 

 

@media screen and (min-width: 590px) {
.sticky-header.is-scrolling .site-header__logo .default-logo {    width: 250px !important;
    }
}


img.inverted-logo.imgset.radius-none.ls-is-cached.lazyloaded {
    width: 250px !important;
}

.site-header__logo img {
  max-width: 250px!important;
  width: 197px!important;
}

 

 

View solution in original post

Replies 10 (10)
oscprofessional
Shopify Partner
12558 1937 2488
img.inverted-logo.imgset.radius-none.ls-is-cached.lazyloaded {
    width: 250px;
}

Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Gold_Skill
Tourist
8 0 0

Hello 

You can easily make use of Canva.com for the designs 

And set up with Custom Size 

Mavidals
Excursionist
12 1 1

The max size for my theme is 200px for desktop and 150px for mobile.

Mavidals
Excursionist
12 1 1

This worked but I wanted the header logo to change also

oscprofessional
Shopify Partner
12558 1937 2488

for mobile or desktop ?

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Mavidals
Excursionist
12 1 1

Desktop

oscprofessional
Shopify Partner
12558 1937 2488

Hello,

use canva tool and make your logo as per your need.

punch https://www.canva.com/

use custom design & according to your size!

hope this will work.

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Mavidals
Excursionist
12 1 1

This is an accepted solution.

Found a solution on https://community.shopify.com/c/Shopify-Design/Logo-Size-on-Debutify-Theme/td-p/623793 used the first codes and the code you gave me, had to add important to yours because the code for mobile override it, didn't think that would actually work, thanks for all your help

 

 

@media screen and (min-width: 590px) {
.sticky-header.is-scrolling .site-header__logo .default-logo {    width: 250px !important;
    }
}


img.inverted-logo.imgset.radius-none.ls-is-cached.lazyloaded {
    width: 250px !important;
}

.site-header__logo img {
  max-width: 250px!important;
  width: 197px!important;
}

 

 

Mavidals
Excursionist
12 1 1

Do you think I should make any adjustments to the code?

oscprofessional
Shopify Partner
12558 1937 2488

@Mavidals ,

Your issue is solved or not ?

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing