Tagged: x
-
AuthorPosts
-
July 12, 2016 at 3:29 pm #1083729
fullframenwParticipantHello, I have one section in my theme that has a color the same as the button highlight. Is there any way to make just this single button a different color/highlight color, including text color?
July 12, 2016 at 6:09 pm #1083893
fullframenwParticipantThis reply has been marked as private.July 12, 2016 at 11:19 pm #1084210
Prasant RaiModeratorHello There,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.x-column.x-sm.x-1-1 a:hover.x-btn.x-btn-global.x-btn-block { color: #000 !important; }Thanks.
July 13, 2016 at 12:51 am #1084303
fullframenwParticipantUh oh, that seemed to have changed the first section button as well as the last. (The last was definitely right so thank you on that.) Could I have just the one button at the bottom change?
July 13, 2016 at 5:05 am #1084587
LelyModeratorHi There,
To make the change specific, please add class custom-btn on your button class field. Then update above CSS to this:
.custom-btn a:hover.x-btn.x-btn-global.x-btn-block { color: #000 !important; }Hope this helps.
July 13, 2016 at 11:38 am #1085177
fullframenwParticipantThank you!
July 13, 2016 at 12:41 pm #1085305
Prasant RaiModeratorYou are most welcome. 🙂
July 13, 2016 at 5:37 pm #1085752
fullframenwParticipantOh no! I accidentally deleted the button, put it right back, and now the custom codes are not working. Any ideas? Sorry!
July 14, 2016 at 1:10 am #1086277
FriechModeratorHey There,
Did you properly add the class custom-btn to the button?
Please update the code to this.
.custom-btn .x-btn, .x-btn.custom-btn { color: #000 !important; }Hope it helps, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1083729 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
