Shopify themes, liquid, logos, and UX
This is on a product page. The attached image is the desktop view, and I want the break to look like:
"Cat Harness
and Leash Set"
Solved! Go to the solution
This is an accepted solution.
Hey @jadedheart32
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product__title>* {
width: 50% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hi @jadedheart32 to have consistent layout across devices/screen-sizes AND have granular control over title line breaks requires an advanced theme customization.
You need to replace the titles with metafields duplicating the title with the addition of a character/sequence that indicates where to split/break the title up.
If you just try to do it with only the title you'll either need all titles to have a consistent word to break on, or have to add spurious characters that customers shouldn't see or don't make sense on some sales channels, and can still get inconsistent behavior across devices/screen-sizes.
If you need this customization then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
You can try to follow these instructions:
Go to Online Store > Themes
<h1>{{ product.title | escape }}</h1>
<h1 class="product-title">
{% assign title_parts = product.title | split: "and" %}
{{ title_parts[0] }}<br>{{ title_parts[1] }}
</h1>
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey @jadedheart32
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
This is an accepted solution.
Hey @jadedheart32
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product__title>* {
width: 50% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
How do I control the breaks on different media sizes. It's breaking weird on tablet.
This is an accepted solution.
Hi @jadedheart32 to have consistent layout across devices/screen-sizes AND have granular control over title line breaks requires an advanced theme customization.
You need to replace the titles with metafields duplicating the title with the addition of a character/sequence that indicates where to split/break the title up.
If you just try to do it with only the title you'll either need all titles to have a consistent word to break on, or have to add spurious characters that customers shouldn't see or don't make sense on some sales channels, and can still get inconsistent behavior across devices/screen-sizes.
If you need this customization then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
You can try to follow these instructions:
Go to Online Store > Themes
<h1>{{ product.title | escape }}</h1>
<h1 class="product-title">
{% assign title_parts = product.title | split: "and" %}
{{ title_parts[0] }}<br>{{ title_parts[1] }}
</h1>
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This works beautifully thank you!
You are very welcome!
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024