• Resolved Lynne Ryall

    (@hryall1)


    I would like to indicate in red on my description caption area if one of my paintings is sold by changing the word sold to red in colour or bold it. How do I do that?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi @hryall1

    You can add custom HTML to your description and then you could use custom CSS to style that to your liking.

    For example, you could add the following HTML to your caption description:

    Painting 12345 <span class="gallery-sold">SOLD</span>

    And then you can add some custom CSS:

    
    .gallery-sold {
        padding: 5px 10px;
        background: #f00;
        color: #fff;
        font-weight: bold;
        border-radius: 3px;
    }
    

    You can tweak the above CSS to your liking, for example, make the color red and remove the background color.

    Plugin Author bradvin

    (@bradvin)

    To add the custom CSS, edit the gallery and then scroll down to the Custom CSS metabox to add it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change text colour of one word in description’ is closed to new replies.