Tagged: x
-
AuthorPosts
-
August 19, 2016 at 4:47 pm #1138761
juanajaafarParticipantHi. I’ve been updating my posts to highlight certain texts. I use the same shortcode throughout all the posts:
[highlight type=”dark”]XXX[/highlight]
For some reason, the highlight on this post appears in green:
http://www.juanajaafar.net/2013/02/notes-du-viet-nam-iii/I want it “dark” (black/dark grey) like on this post:
http://www.juanajaafar.net/2016/08/dili-and-observations-on-resistencia/Is there a way for me to set this in CSS on Customize so that all highlights throughout my website are the same colour (“dark”)?
August 19, 2016 at 10:13 pm #1139111
FriechModeratorHi There,
Thanks for writing in! That can easily be corrected with the below code on your custom CSS on Customizer.
.x-highlight {background-color: #484848 !important;}But, are you sure you’re applying the same shortcode? I am not seeing the dark class on those text (green highlight) as opposed to those on grey.
Hope it helps, Cheers!
August 20, 2016 at 5:03 am #1139340
juanajaafarParticipantYes, I believe I checked the post to ensure I copied the shortcode as per what was given, with “dark” in it.
In any case, your code above works well and the post has been adjusted. Thank you!
August 20, 2016 at 5:36 am #1139365
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1138761 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
