• Resolved Piero

    (@pierosparviero)


    Dear and precious helpers,
    I would like sometimes format some words inside a paragraph in a different way as the rest of the paragraph. For instance giving them a different color – or using a different font or a different size.
    Is it possible to do it with the 2025 theme?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • r1k0

    (@r1k0)

    Hey @pierosparviero,

    I hope you still require guidance with this topic.

    Yes, this is completely possible in Twenty Twenty-Five. For colors, there’s an inbuilt feature. Highlight the word, click the dropdown arrow(see screenshot below for a visual guide), and select the highlight option. Pick a desired color and you’re done.

    For changing other styles, it’s still possible, but you will need to add a bit of code. Head over to the page/post, click the three-dot button on the right side of the page. Select the code editor option, and locate the word/s that need to be different. Wrap the word in span element tags. Then use inline styles to add the styles you need. For example:

    <span style="font-family:cardo; font-size:32px;">ultricies</span>

    Use the screenshots below to assist you in finding the code editor option.

    These guides will give you more information about span and inline-CSS:
    https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/span
    https://www.freecodecamp.org/news/inline-style-in-html/

    Hope this helps.
    Cheers.

    Thread Starter Piero

    (@pierosparviero)

    Theank you, very very much. I still needed help with this subject. And your message is clear and well explained.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.