Tagged: x
-
AuthorPosts
-
February 4, 2017 at 6:29 am #1357852
SixITParticipantHi 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
February 4, 2017 at 6:42 am #1357856
ChristopherModeratorHi there,
Please add a custom class like
custom-headlineto 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.
February 4, 2017 at 7:03 am #1357857
SixITParticipantThat’s worked perfectly, is therea way to change the font colour in the css as well?
Thanks in advance!
February 4, 2017 at 7:14 am #1357862
ThaiModeratorHi There,
Please add the following CSS:
.h-custom-headline.custom-headline.accent span { color: #000; }Hope it helps 🙂
February 4, 2017 at 7:37 am #1357868
SixITParticipantPerfect, that worked great!
February 4, 2017 at 7:42 am #1357869
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1357852 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
