Hi, I would like to make the logo bigger on mobile and desktop too. I appreciate your inputs.
Thanks
A user seeks to enlarge their store logo on both mobile and desktop versions using the Parallax theme.
Solutions Provided:
Three community members offered CSS-based solutions involving:
theme.liquid file in the theme code editor</body> or </head> tagmax-width, max-height, and object-fit properties for both desktop (.logo .image-element__wrap img) and mobile (@media queries targeting #header.mobile_logo img)Current Issue:
The original poster reported that while solutions were provided, the mobile implementation resulted in misalignment—the logo appears left-aligned instead of centered.
Status: The discussion remains open with the user requesting guidance on how to fix the centering issue on mobile devices.
Hi, I would like to make the logo bigger on mobile and desktop too. I appreciate your inputs.
Thanks
Hello @urbantis ,
I would like to give you a solution to support you:
<style>
.logo .image-element__wrap {
width: 250px !important;
}
@media only screen and (max-width: 798px){
#header a.mobile_logo img {
max-width: 180px !important;
max-height: 50px !important;
object-fit: contain;
}
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me.
Hello @urbantis ,
Welcome to Shopify Community !
I wanted to offer a potential solution to assist you. Here are the steps to follow:
Navigate to the Online Store section of your Shopify account, and select the Theme option.
Click the Edit code button.
Open the theme.liquid file.
Paste the following code before the closing tag :
.logo .image-element__wrap {
width: 300px;
}
@media screen and (max-width: 798px) {
#header .mobile_logo img {
max-width: 220px;
max-height: 60px;
object-fit: contain;
}
}
This is how it should look after code implementation :
Let me know if need further assistance from my end.
Thank you for your reply, however in mobile version the logo is not centered (it is showing moved to the left) is there a way to fix this? Thanks for your time