Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #474230

    Hi,

    As you can see here http://www.airlinestaffrates.com I have a block of Masonry where I display only the title
    The title always ends with a discount.

    I want this discount to be in red, see image
    Is that possible?

    Thanks
    Charlotte

    discounts

    #474433

    Hey Charlotte!

    Surround the text with a <span> </span> tag and then add this to your custom CSS.

    .entry-title span { color: red !important; }
    

    Regards,
    Elliott

    #474479

    Aha…ok… thanks, but there is no other way? Its so many posts to go through…..

    And this is the text from the title so I can´t add the code to the tag to the title

    #474981

    Hi!

    Unfortunately not. There has to be some kind of tag surrounding the specific text so we can target it. Otherwise it would change all of the text.

    Regards,
    Elliott

    #475123

    Ok, thanks then I will do that.

    Charlotte

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change color in title in Masonry’ is closed to new replies.