Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1129314
    targa2
    Participant

    Every time I use the [highlight] function to markup text the background defaults to a particular colour. Is this being pulled from some global CSS setting and if so , how do I access and change that setting?

    #1129588
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer to change background color:

    mark.x-highlight {
        background-color: #ddd !important;
    }

    If you would like to remove the background color, please use following CSS instead:

    mark.x-highlight {
        background-color: transparent !important;
    }

    Thanks.

    #1129864
    targa2
    Participant

    I’ll try that. Thanks

    #1129870
    targa2
    Participant

    Yes. That worked. So tell me this. If I wanted to do the same for all “content band” short codes I would just replace “highlight” with “content band” in that same CSS code?

    #1129874
    Thai
    Moderator

    Hi There,

    In that case, please try with this:

    .x-content-band {
        background-color: #ddd !important;
    }

    Hope it helps 🙂

  • <script> jQuery(function($){ $("#no-reply-1129314 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>