How to increase Logo size on mobile? Debutify Theme

Topic summary

A Shopify store owner using the Debutify theme needs help increasing their logo size specifically on mobile devices, as they can already adjust it on desktop.

Multiple solutions provided:

  • CSS modifications: Several users recommend adding custom CSS code to the theme.css file targeting mobile screens (max-width: 767-768px). The suggested code typically includes:

    • .header__logo.header__logo--mobile { max-width: 125px !important; } or similar variations
    • Some suggest using scale: 2 or max-width: 100% depending on desired size
  • Implementation steps (consistent across responses):

    1. Navigate to Shopify Admin β†’ Online Store β†’ Theme β†’ Edit code
    2. Locate and open theme.css file (or theme.liquid for one solution)
    3. Add the CSS snippet at the end of the file
    4. Save and reload the homepage
  • Additional recommendation: One user suggests cropping the actual logo file to remove extra whitespace around the image, which may be limiting the effective display size.

The discussion remains open with no confirmed resolution from the original poster.

Summarized with AI on November 6. AI used: claude-sonnet-4-5-20250929.

Hello, can some one help me increase the size of my Logo on mobile view.

I can increase Logo size on desktop but not om mobile.

This is my website, https://astropots.com/

And just for reference, i don’t know a lot about coding. :wink:

@astropots – please add this css to the very end of your theme.css file and check,
Shopify Admin β†’ Online Store ->Theme β†’ Edit code β†’ theme.css

i also recommend to edit logo file and remove extra space around the actual logo

.header__logo.header__logo--mobile {max-width: 125px !important;}

Hi @astropots ,

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 theme.css. And add this code snippet to the end of the file.

@media only screen and (max-width: 768px) {
    img.header__logo.header__logo--mobile.header__logo--inverted.lazyloaded {
        scale: 2 !important;
    }
}

In this step, you can change the scale of logo image as you want bigger or smaller.
In my example, I choose scale β€œ2”.

Step 3: Save and reload home page.

=>> The result:

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir!

1 Like

Hello @astropots

You can add code by following these steps

  1. Go to Online Store β†’ Theme β†’ Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (max-width: 767px) { .header[data-section-id='sections--18023878033662__header'] .header__logo.header__logo--mobile { max-width: 100% !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Hi @astropots ,

I hope you’re doing well. I’ve reviewed your website, please follow the instructions below:

Step 1: Go to Admin β†’ Online store β†’ Theme > Edit code

Step 2: Find the file theme.css and add the below code snippet in the file

@media screen and (max-width: 767.98px) {
    .header .header__logo.header__logo--mobile {
        max-width: 100% !important;
    }
}

Step 3: Save the changes and reload website.

Thanks!

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Crop your current logo to remove above and below space and check again.