New Landing How can we help? Themeforest Theme Support Dante CSS code not being added properly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #146951
    marlonsabala
    Member
    Post count: 32

    Hi folks,

    I have a script call on my site that loads a couple of elements in overlay.

    The script has been working fine and all is good.

    Recently I had to move one of the elements a few px down the page and was asked to add this bit of code to the CSS:

    body #livesite_action_buttons.ls-desktop{
        top: 76px;
    }

    It does work when I add it to the style.css page, but obviously I don’t want to hard code it there. But at the moment that’s the only option as adding those lines of code to the Custom CSS/JS page does nothing.

    Am I missing something? does the syntax need to change?

    Thanks

    #146991
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It can be 2 things in my opinion.

    1- You have more custom css code that is not properly closed so this won’t work.
    2- You need to add the !important tag in the code used in the custom css field.

    
    body #livesite_action_buttons.ls-desktop{
        top: 76px!important;
    }

    -Rui

Viewing 2 posts - 1 through 2 (of 2 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