Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
The previous response by LitExtension was a great fix, but it only functioned temporarily. On Mobile, my store title is on now back on two lines, not one. How do I fit my entire store name into one line? Which file should I adjust the code in?
Store Link: https://derekkellerstore.com/
Solved! Go to the solution
This is an accepted solution.
Hi,
One possible way would be to remove the padding and reduce the font size of the name, for mobile phones, like below:
@media (max-width:768px) {
.header__heading-link {
padding: 0;
}
.header__heading-link span.h2 {
font-size: 24px;
}
}
Adding the above code at the end of your 'base.css' file should do the job.
Let me know if this was of help.
Kind regards,
Gabriel
This is an accepted solution.
Hi,
One possible way would be to remove the padding and reduce the font size of the name, for mobile phones, like below:
@media (max-width:768px) {
.header__heading-link {
padding: 0;
}
.header__heading-link span.h2 {
font-size: 24px;
}
}
Adding the above code at the end of your 'base.css' file should do the job.
Let me know if this was of help.
Kind regards,
Gabriel
can you try this code easy to add
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
@media (max-width: 749px) {
.header__heading-link .h2 {font-size: 24px;}
.header__heading-link {padding: 0;}
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025