Hello friends, how can I set my title be visible only in 1 line instead of 2 for mobile version?
Topic summary
A user seeks to display a section title in a single line instead of two on mobile devices in their Shopify store.
Initial Confusion:
- Another user initially misidentified the element as an image rather than text.
- The original poster clarified they meant the text “Kaufe unsere Kategorien” above the image.
Solutions Provided:
CSS Media Query Approach (Hasan112):
- Target the specific heading ID with a media query for screens under 425px width
- Reduce font size to 26px to fit content on one line
- Includes code snippet and visual example
Alternative CSS Solution (PageFly-Richard):
- Add custom CSS to theme.liquid file before the closing
</body>tag - Provides step-by-step implementation instructions
Status: The discussion remains open with two technical solutions offered but no confirmation of which approach worked or was implemented.
Link please
Hello DaisyVo, I mean the text above the image Kaufe unsere Kateogrien
@media (max-width: 425px)
{
#SectionHeading-template--22328067621196__collection_list_MYb3aD {
font-size: 26px;
}
If its helpful Accept as solution and like Thanks
This is Richard from PageFly - Shopify Page Builder App
Hi @NikosBat Please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly


