I would like to color my texts like this. And any idea on how to higlight it as well would be great!
Could you share your website url? @DylanRyan
Hi @DylanRyan
The screenshot you provided, which page is it from? Can you send the URL?
Hello! @DylanRyan Please follow these steps to add this CSS code:
- Go to your Online Store
- Click on “Themes”
- Select “Edit code”
- Open your custom file
- Add the following code.
# {{ section.settings.title }}
{% schema %}
{
"name": "Custom heading",
"settings": [
{
"type": "inline_richtext",
"id": "title",
"label": "Heading"
}
]
}
{% endschema %}
Add this CSS to your CSS file:
.hw-title {
color: #000;
}
.hw-title strong {
color: #0A90DD;
}
Go to your store’s theme editor, add text, and bold as much text as you want. See an example.
Output:
Hi @DylanRyan
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.css and paste this at the bottom of the file:
section#sf-custom-template--16213130969343__165667138816882ef8 .section__heading mark {
background-color: #67b634!important;
color: #fff;
}
@DylanRyan Please send me the entire code of the file in which you want to add this code.
Hello @DylanRyan ,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Layout > theme.liquid and paste this at the bottom of the file:
I tried adding it as a custom liquid it worked but don’t know how to to adjust the content alignment for the text and on dekstop it looks just like in mobile as a straight line.
tried adding it as a custom liquid and it worked but don’t know how to to adjust the content alignment for the text and on dekstop it looks just like in mobile as a straight line. You can see on my website
I learned how to align the text it works now I’ll take care of it from now on thanks for the help






