-
AuthorPosts
-
July 14, 2016 at 3:05 am #660636
Hi
Is it possible to change the background of an inline style icon from transparent to other and maintaining the Icon color. Something like the iconlist where you can define icon background, border and font colors separately.
Thank you very much.
July 14, 2016 at 4:53 am #660649Hey hdpcr,
Yes i think it is, we cannot confirm until we are able to inspect the element in questions. Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
VinayJuly 14, 2016 at 3:58 pm #660906Hi
Please check on the example.
Thank you very much
July 14, 2016 at 4:09 pm #660918Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.av_font_icon.av-icon-style-border .av-icon-char { background: red; border: none; }
Regards,
YigitJuly 14, 2016 at 4:33 pm #660928Hi
Before adding that is it possible to have it as custom class? i mean something like #mycustomicon ,av_ etc.. so i can use it just for certain icons i need.
Thank you very much
July 15, 2016 at 12:46 pm #661223Hi,
You could try following this to be able to add your own class for builder elements: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
RikardJuly 15, 2016 at 4:37 pm #661426Hi
I already have tat and have some custom classes in use, I’m asking about this case what would be the syntax of this CSS i should apply.
Thank you very much
July 15, 2016 at 4:48 pm #661429Hi!
Please use following
.your-custom-class .av-icon-char { background: red !important; border: none !important; }
Regards,
YigitJuly 15, 2016 at 6:16 pm #661458Hi
Thank you very much for the code. It work great. Just a few things, It works with Stand alone but not with Inline icons, it displays a square in the back.Some times i will need to concatenate icons one next to other like this O O O text O O
I guess it cannot be done with standalone icons only with inline icons so i’n nor sure if its possible to have the same result in inline icons.Thank you very much
July 15, 2016 at 9:14 pm #661538Hi!
Can you please try changing the code to following
.your-custom-class .av-icon-char { background: red !important; border: none !important; border-radius: 300px!important; }
That should solve “square issue” :)
Regards,
YigitJuly 15, 2016 at 10:02 pm #661549Hi Yigit
I did replace the CSS and result is weird check by your self :)
Thank you
- This reply was modified 8 years, 4 months ago by hdpcr.
July 17, 2016 at 10:44 pm #661822 -
AuthorPosts
- You must be logged in to reply to this topic.