Home Forums Trusted Pro Featured Button Text

  • This topic has 1 reply, 2 voices, and was last updated 6 years ago by Andy.
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)
  • The topic ‘Featured Button Text’ is closed to new replies.