Shopify themes, liquid, logos, and UX
Hello,
On my homepage I have a heading titled "Prop Firm Challenges" however on desktop the "S" seems to be cut off and on a separate line. Could I fix this so that it remains on the same line without moving any text or making the font smaller?
My store:
Solved! Go to the solution
This is an accepted solution.
Hello @mmmtrading
You can try with the following code:
#shopify-section-template--16737946337561__8d09fa2d-fc9d-43bb-9814-4117ed9939e3 h2.image-with-text__heading{
word-break: inherit;
}
h2.image-with-text__heading.h1 {
font-size: 28px;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
This is an accepted solution.
Hello @mmmtrading
You can try with the following code:
#shopify-section-template--16737946337561__8d09fa2d-fc9d-43bb-9814-4117ed9939e3 h2.image-with-text__heading{
word-break: inherit;
}
@mmmtrading
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css.
Step 3: Paste the below code at bottom of the file -> Save
h2.image-with-text__heading.h1 {
font-size: 21px!important;
}
User | RANK |
---|---|
126 | |
96 | |
77 | |
69 | |
38 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022