How to apply custom style to a specific paragraph in Dawn theme Shopify?

Hello! I would like to make the last line of text a blue color. It is located inside of column inside of multicolumn section.

I can not change

style in css, because all of

s will be affected. Using last-child property also makes changes all over the store for the last-child element.

Any help here, please?:slight_smile:

  1. Add a class or ID to the paragraph you want to style:
    • Edit the section or page where the paragraph is located.
    • Select the paragraph you want to style.
    • Add a class or ID to the paragraph using the “Styles” or “Edit HTML” options.
  2. Define the style for the class or ID in your CSS:
    • In your Shopify dashboard, go to Online Store > Themes > Edit code.
    • Open the theme.scss.liquid file or create a new one.
    • Add a CSS selector for the class or ID you added to the paragraph.
    • Define the style properties you want to apply to the paragraph, such as color, font-size, or text-decoration.

Here’s an example of how to add a class to the paragraph and define a custom style in CSS:

  1. Edit the section or page where the paragraph is located.
  2. Select the paragraph you want to style.
  3. Add the class “blue-text” to the paragraph using the “Styles” or “Edit HTML” options.
  4. In your Shopify dashboard, go to Online Store > Themes > Edit code.
  5. Open the theme.scss.liquid file or create a new one.
  6. Add the following code to define the style for the “blue-text” class:

css
.blue-text { color: blue; }

Thank you so much @mics but where exactly I find that HTML for homepage to edit? I have main theme.liquid file

This is bit technical but you can try inspect your home page and find the class set for that section go to the theme.liquid and press clt+ f and search for that class and add code there

Hello @artem_mi

To provide you with the most precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?

Thank you and hope to hear from you.
Best regards,
GemPages Support Team