hello, my site looks good on desktop but on mobile at the top of the page the name Music Festival Supplies seems to be top-aligned and not centered in the header. I have been unsuccessful trying to fix this.
website url: musicfestivalsupplies.com
A Shopify store owner reports that their site header displays correctly on desktop, but on mobile the store name “Music Festival Supplies” appears top-aligned instead of centered.
Proposed Solution:
theme.scss.liquid file targeting .site-header__logo.mobile-logo with display: flex and align-items: center propertiesIssue with Initial Fix:
Working Solution:
@media only screen and (max-width: 749px) to apply styling exclusively to mobile devicesStatus: Resolved through responsive CSS targeting mobile viewports only.
hello, my site looks good on desktop but on mobile at the top of the page the name Music Festival Supplies seems to be top-aligned and not centered in the header. I have been unsuccessful trying to fix this.
website url: musicfestivalsupplies.com
Hi @Cheddarrl
To fix the problem
You can try follow this path:
Themes => edit code => asset => theme.scss.liquid
and add this code to bottom of the file theme.scss.liquid
.site-header__logo .mobile-logo{
display: flex;
align-items: center;
}
now the header shows up wrong on desktop site but mobile is fixed, any ideas?
This code works exactly as needed to hide the website name on desktop view and align it properly
@media only screen and (max-width: 749px){.site-header__logo .mobile-logo {
display: flex;
align-items: center;
}}