Home Forums Trusted Pro Featured Button Text Reply To: Featured Button Text

#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…