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;}
}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025