New Landing How can we help? Themeforest Theme Support Dante Custom CSS does not work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #142045
    TheHomepage
    Member
    Post count: 97

    Hello,

    On the theme options I added a custom css in order too layout the lightbox
    (a wordpress plugin I installed).

    The half of the custom Css works, the other half does not.

    Thanks to help

    #142057
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Then you custom css is not specific enough to override the original css.

    Let me know what’s not working and I’ll check for you

    – Kyle

    #142195
    TheHomepage
    Member
    Post count: 97

    Hello,

    In the custom css file you can see my added code and what does not work:
    (3 things)

    1/
    #slb_viewer_wrap .slb_theme_slb_default .slb_container {
    border-radius: 0px;
    }

    >>> This css is supposed to delete the rounded corner of the white screen of the lightbox, but does not work.

    2/
    #slb_viewer_wrap .slb_theme_slb_baseline .slb_container {
    position: relative;
    display: inline-block;
    background-color: #406325;
    margin: 0px auto;
    padding: 5px;
    }
    >>> This css is supposed to change the white background of the lightbox into green, and make the padding smaller (so that the green border is less visible)

    3/ My question regarding a new css line : how to
    change the navigation items of the lightbox such as the “<” and “>” and “pauze” button
    and “x” button.

    Many thanks in advance,
    please see screenshots of how it should be.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #142428
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid we don’t support customisations of 3rd party plugins, we only support for the theme itself.

    If you want to customise the plugin you’ll need to check with the plugin developer

    – Kyle

    #142704
    TheHomepage
    Member
    Post count: 97

    Hello,

    Thanks for your reply. I already checked with them, they send me back to you…
    Their css is working well, it’s has to do with the CSS of th Dante theme they say and maybe the order of priorities of CSS or something…?
    Does that say anything to you?

    Thanks

    #142767
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try to use the !important to give priority to your custom css.
    like this:

    #slb_viewer_wrap .slb_theme_slb_default .slb_container {
    border-radius: 0px!important;
    }

    -Rui

    #142775
    TheHomepage
    Member
    Post count: 97

    Great ! Works fine now 🙂

    #142803
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Rui

Viewing 8 posts - 1 through 8 (of 8 total)

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

License required for the following item
Login and Registration Log in · Register