[Resolved] Hero Element

Home Forums Support [Resolved] Hero Element

Home Forums Support Hero Element

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2523739
    Darin

    Good Day,

    I would like to Italicize the “Last Updated: Postdate” in my Hero Element.
    It is currently an H block, sized as a paragraph with dynamic text linked to the post date.
    This page is not live. Still a draft.

    What is the best way to accomplish this?

    Thank you in advance!

    Darin

    #2523785
    Ying
    Staff
    Customer Support

    Hi Darin,

    It is currently an H block

    Do you mean a headline block of GenerateBlocks?

    You can add a CSS class to the headline block, eg. style-italic.
    https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/

    Then add this CSS:

    .style-italic {
        font-style: italic;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #2523822
    Darin

    Yes that works. That is great information on how to apply the Advanced CSS.

    Thank you Ying!

    Darin

    #2523861
    Ying
    Staff
    Customer Support

    You are welcome   🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.