BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › tut: change the buttons' color for better display
- This topic has 7 replies, 3 contibutors, and was last updated 8 years, 6 months ago by Anonymous.
Question
March 27, 2016 at 6:10 pm #65564@jeanpierrefor the people willing to play with design and CSS, here is a little bit of code you can put in the OneSocial Theme Options >> Custom Codes >> CSS
see the screenshot for example of result. you can play with the colors as you wish.
/* generate background and border colors for these buttons - missing in theme */ .a2a_dd.addtoany_no_icon:before, .helper-links .bb-helper-icon, .sl-icon, .sl-icon:before, .sl-count, .sl-count:before { background-color: #fffff1 !important; } /* add2any button */ .a2a_dd.addtoany_no_icon:before { border-color: blue !important; } /* bookmark button - member blog */ .helper-links .bb-helper-icon { border-color: orange !important; } /* recommendation bubbles */ .sl-icon, .sl-icon:before, .sl-count, .sl-count:before { border-color: red !important; }
PS: the demo theme was customized a lot, so yes, your version will not look like the one in the screenshot.
Answers
March 27, 2016 at 6:13 pm #65567@jeanpierrebtw, guys, it would be good to be able to add background-color to these buttons from the Customizer…
March 28, 2016 at 1:41 pm #65708@
AnonymousHi @jeanpierre
Thanks for your input
I have also notified developer to consider these options in option panel
Regards
Varun DubeyMarch 28, 2016 at 4:24 pm #65723@jeanpierrewe hardly can add hover effect to these buttons and the tags because of the CSS used to design them… having :before make it impossible to use :hover at will, so we lack that real effect we could have with simplier buttons. maybe a ajax inject of effect could do, but it’s not really useful.
March 29, 2016 at 2:00 am #65742@
AnonymousHi @jeanpierre
You can use like this.a2a_dd.addtoany_no_icon:hover::after
.a2a_dd.addtoany_no_icon:hover::beforeRegards
Varun DubeyMarch 29, 2016 at 9:20 am #65812@jeanpierredamn, that’s why i was unable to work it out, i forgot the double “::” …. and i knew about it, i’m just blind… lol
March 31, 2016 at 6:37 am #66238@
Anonymous🙂
April 24, 2016 at 6:09 pm #69649@
AnonymousWe added hover effect into core theme now, in latest release 1.0.5.
This should make it easier to override with CSS.
- You must be logged in to reply to this question.