New Landing How can we help? Themeforest Theme Support Uplift sf-responsive.css backend access?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Uplift
  • #295965
    oliverr
    Member
    Post count: 123

    I just realized that all my margin-problems on mobile devices are coming from sf-responsive.css

    margin-top and -bottom is set 0 with !important and I don’t know why.
    Is it possible to set this value somewhere in the backend?

    @media only screen and (max-width: 767px)
    .spb-asset-content {
        margin-top: 0!important;
        margin-bottom: 0!important;
    
    Attachments:
    You must be logged in to view attached files.
    #295969
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You can add the code below in your custom css option, adjust the value.

    @media only screen and (max-width: 767px){
    .spb-asset-content {
        margin-top: 0!important;
        margin-bottom: 0!important;
    }
    }

    -Rui

    #295996
    oliverr
    Member
    Post count: 123

    This won’t cause problems? I read a few times that you should never use !important twice on the same element.

    #296017
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    I never heard about that, since the original rules have the !important if you don’t place it then it won’t work.

    -Rui

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