Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Icon box (boxed four) background color
New Landing › How can we help? › Themeforest Theme Support › Dante › Icon box (boxed four) background color
- This topic has 16 replies, 5 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
October 8, 2014 at 3:58 am #118340
Hi there –
I am looking for assistance and information on how to change the color of the background of the icon box (boxed four) to another color. And also change the color of the text. See image here –> http://i.imgur.com/e8yQPcg.png
Thanks in advance!
Fabian
October 8, 2014 at 9:10 am #118417Hi
Add this to your custom css:
.sf-icon-box.sf-icon-box-boxed-four .sf-icon-box-content-wrap { background-color: #e5e5e5; } .sf-icon-box.sf-icon-box-boxed-four .sf-icon-box-content-wrap h3, .sf-icon-box.sf-icon-box-boxed-four .sf-icon-box-content-wrap p { color: #ffffff; }
– Kyle
October 8, 2014 at 4:41 pm #118636Hi – this worked great so far.
However, how do I get the text to be white as well. See here –> http://i.imgur.com/yldpkLN.png
The text is black, I highlighted with the mouse so you can see it.
THANKS!!!!
October 8, 2014 at 6:16 pm #118646I’m all set!!! Was over thinking this!
Thanks!
October 9, 2014 at 8:08 am #118734Ok great, no problem
– Kyle
March 20, 2015 at 7:28 pm #159479Kyle, I’m trying this with an icon box 2, but I can’t seem to get the background to change. I added this to my child theme:
.sf-icon-box.sf-icon-box-boxed-two .sf-icon-box-content-wrap { background-color: #e4e4e4!important; } .sf-icon-box.sf-icon-box-boxed-two .sf-icon-box-content-wrap h3, .sf-icon-box.sf-icon-box-boxed-four .sf-icon-box-content-wrap p { color: #000000!important; }
And in the customize window I’ve made sure “Boxed Content Coloured BG Color” is also set to #e4e4e4, but it’s still showing up as a white background for me.
You can preview it here: http://www.glutenfreegigi.com/test/
(disregard the image banner. since it’s not responsive, I’m trying to replace with this icon box)
Thanks,
HeatherMarch 23, 2015 at 5:16 am #159679Hi,
@stmarie – Please attach marked screenshot image.
Thanks
MohammadMarch 23, 2015 at 11:08 pm #160049Mohammad, here’s a screenshot of a live page with the icon box. As you can see, there is no background color; it should be showing up with a background of #e4e4e4 instead.
Thanks,
HeatherAttachments:
You must be logged in to view attached files.March 24, 2015 at 6:14 am #160100Hi,
Please use this custom css code:-.sf-icon-box.sf-icon-box-boxed-two .sf-icon-box-content-wrap{ background:#eee !important; }
Thanks
MohammadMarch 24, 2015 at 5:29 pm #160383Mohammad, I tried your code with no success. It’s still got a white background…
Thanks,
HeatherMarch 25, 2015 at 6:00 am #160470Hi,
Where did you insert this code?
Thanks
MohammadMarch 25, 2015 at 4:26 pm #160733The code is in my child theme’s style.css file.
Thanks
March 26, 2015 at 5:45 am #160862Hi,
Please insert all code at Admin -> Theme Options -> Custom CSS/JS.
Thanks
MohammadMarch 26, 2015 at 4:56 pm #161185That worked, Mohammad. I wonder why it won’t work in my child theme’s stylesheet, though?
Thanks again,
HeatherMarch 26, 2015 at 5:07 pm #161191Guess the css in the child theme is loaded after the parent theme css is loaded. The custom css is loaded first so it has different priority.
Glad it’s sorted.
Thanks Mohammad.
-Rui
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.