Tagged: x
-
AuthorPosts
-
April 15, 2016 at 1:54 pm #884665
ottobonoParticipantHi, I would like to change callout colors. I assigned my column the custom class “mycallout”. I am using integrity dark. What I want are following properties (they must be valid only for the callout wiht class “mycallout” and not globally!):
1) no border (the frame around the callout)
2) inside background (not around border but background on the inside) color white
3) title (h2) color #a47c47
4) text (p) color #a47c47I attached a pic. How is it possible to do it with css? Thank you! π
April 15, 2016 at 2:22 pm #884716
ottobonoParticipantHi, I forgot to put in the image that I wanted the inside background color to be changed to white
April 16, 2016 at 3:59 am #885474
Rue NelModeratorHello There,
Thanks for writing in! To change the colors of the callout element, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.x-callout:before { background-color: #fff; } .h-callout, .p-callout { color: #a47c47; }Please let us know if this works out for you.
April 16, 2016 at 4:42 am #885522
ottobonoParticipantaye, it did the trick, thank you! π
p.s. why the :before and how can I reference a specific class (like mycallout) instead of modifying all callouts?
April 17, 2016 at 12:26 am #886414
Rue NelModeratorHello There,
To make sure that your customizations will only affect your custom callout, please use this code instead:
.mycallout.x-callout:before { background-color: #fff; } .mycallout .h-callout, .mycallout .p-callout { color: #a47c47; }Hope this helps.
April 17, 2016 at 9:37 am #886799
ottobonoParticipantthank you, it worked! π
April 17, 2016 at 5:46 pm #887196
John EzraMemberYouβre most welcome! π
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-884665 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
