Home Forums Trusted Pro Featured Button Text

This topic contains 1 reply, has 2 voices, and was last updated by  Andy 6 days, 23 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6032

    Phillip Allen
    Participant

    Is there a way to change the button text of the individual featured items?

    #6036

    Andy
    Keymaster

    There is a way using CSS to ‘force’ the text to appear different to the actual text in the button.

    Follow this example to change the button text of the first featured item (.featured-post1) to show the word HELLO

    .featured-post1 .featured-readmore {
        font-size: 0;
        display: inline-block;
    }
    
    .featured-post1 .featured-readmore:before {
        content: "HELLO";
        font-size: 14px;
    }

    The second item would use .featured-post2 etc…

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

You must be logged in to reply to this topic.