New Landing How can we help? Themeforest Theme Support Dante Change boxed content border color with extra class

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #95972
    tonidomi
    Member
    Post count: 10

    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!

    #95977
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey 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!

    #201482
    Spukje
    Member
    Post count: 67

    Hello,
    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,
    Sjoukje

    #201515
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi @Spukje,

    Can you provide us the link to that specific page so we can inspect the code?

    -Rui

    #201532
    Spukje
    Member
    Post count: 67
    This reply has been marked as private.
    #201684
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #201724
    Spukje
    Member
    Post count: 67

    Hello 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

    #201768
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me wordpress admin login detail to check and resolve the issue.
    Thanks
    Mohammad

    #202069
    Spukje
    Member
    Post count: 67

    Hello,

    http://vierfiets.nl/wp-admin

    Username: admin
    Password: St@ationsplein!$14

    Thanks, Sjoukje

    #202073
    purplesu
    Member
    Post count: 2

    Hey man! you should hide your login info ~~~

    #202076
    Spukje
    Member
    Post count: 67
    This reply has been marked as private.
    #202077
    Spukje
    Member
    Post count: 67

    thanx, I changed it.

    #202322
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Do you mean you resolved your issue or changed your password?

    – David.

    #202384
    Spukje
    Member
    Post count: 67
    This reply has been marked as private.
    #202504
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    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.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register