Hi,
I want to resize my sign-in logo on my mobile Shopify store, as I did with the other icons. How can I do that?
Here is a picture of how it looks at the moment.
My URL is: https://f6fb1d.myshopify.com/?_ab=0&_fd=0&_sc=1
The password is: aifrao
A user seeks help resizing the sign-in/account icon on their mobile Shopify store to match other icons they’ve already adjusted. An image was provided showing the current appearance.
Initial Solution Attempt:
.header__heading-logo with max-width: 125pxCorrected Solution:
.header__icon--account with max-width: 15px within a media query for screens up to 749pxStatus: The conversation appears resolved with the corrected CSS snippet, though final confirmation of success is not shown. The solution involves modifying the theme’s CSS file with mobile-specific styling.
Hi,
I want to resize my sign-in logo on my mobile Shopify store, as I did with the other icons. How can I do that?
Here is a picture of how it looks at the moment.
My URL is: https://f6fb1d.myshopify.com/?_ab=0&_fd=0&_sc=1
The password is: aifrao
The recommended approach is to add a setting within your theme’s settings. See here: https://shopify.dev/docs/themes/architecture/settings#dynamic-sources
Although, a quick fix might be to modify your themes CSS file to include:
@media screen and (max-width: 749px) {
.header__heading-logo {
max-width: 125px !important;
}
}
this will adjust the logo’s width to be smaller. You can play around with the number to dial in what looks good.
Hi, thank you. Unfortunately, this code lets my brand logo disappear instead of the login logo. Could you please modify the code and resend it?
I’m sorry, i read your question wrong.
Try this code to adjust the size of your sign-in icon.
@media screen and (max-width: 749px) {
.header__icon--account {
max-width: 15px !important;
}
}