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;}
}
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025