Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1357852
    SixIT
    Participant

    Hi there,

    I have a custom headline accent colour, see below:

    .h-custom-headline.accent span:before, .h-custom-headline.accent span:after {
    border-top: 0;
    border-bottom: 0;
    background-color: #3f0f10 ;
    height: 2px;
    }

    Would there be a way of creating a custom class to use when I need the accent and header to be white (it’s dark red for the majority of the site however, I may need it white for certain sections of the website).

    Many Thanks,

    Joe

    #1357856
    Christopher
    Moderator

    Hi there,

    Please add a custom class like custom-headline to your headline’s class field and add following code :

    .h-custom-headline.custom-headline.accent span:before, .h-custom-headline.custom-headline.accent span:after {
    border-top: 0;
    border-bottom: 0;
    background-color: #fff ;
    height: 2px;
    }

    Hope it helps.

    #1357857
    SixIT
    Participant

    That’s worked perfectly, is therea way to change the font colour in the css as well?

    Thanks in advance!

    #1357862
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .h-custom-headline.custom-headline.accent span {
    color: #000;
    }

    Hope it helps 🙂

    #1357868
    SixIT
    Participant

    Perfect, that worked great!

    #1357869
    Thai
    Moderator

    If you need anything else please let us know.

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