New Landing How can we help? Themeforest Theme Support Flexform How to use extra class function on Rev Slider

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Flexform
  • #3552
    tripthreat2409
    Member
    Post count: 77

    I’m trying to eliminate the auto spacing between a Revolution Slider and a call to action box below it. I tried adding .mt0 and .pto to the call-to-action box in “extra class”, but I think there may be some bottom padding/margin on the rev slider.

     

    Any ideas on how to eliminate the space? See attached.

    #3682
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    You can target the Revolution Slider with custom CSS in the theme options:

    .rev_slider_wrapper {
    // your custom CSS here
    }

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #3871
    tripthreat2409
    Member
    Post count: 77

    Thanks, Cosmin.

    Excuse my low css expertise, here. But I tried a few different combos and still couldn’t eliminate that space. I wasn’t sure if I could use the extra class shortcuts, so I tried multiple ways.

    Some ways I tried:

    .rev_slider_wrapper {
    // padding-bottom: 0!important;
    }

    .rev_slider_wrapper {
    //margin-bottom: 0!important;
    }

    .rev_slider_wrapper {
    //.pbo
    }

    .rev_slider_wrapper {
    // .mbo

    Any clue the exact code I’d need to use here to eliminate that space?

     

    Thanks!

    #3951
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    In your code, remove the //
    Sorry about that, // is usually used in programming to comment out lines, so it’s just a habit of mine that misguided you here 🙂

    After removing //, the first two CSS blocks are valid, the last two are not, you can remove those.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #3961
    tripthreat2409
    Member
    Post count: 77

    Thanks, Cosim. Still not working, though.

    Tried both:

    .rev_slider_wrapper {
    padding-bottom: 0!important;
    }and

    .rev_slider_wrapper {
    margin-bottom: 0!important;
    }

    #4100
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Do you have a link to the page so that we can check out why you’re seeing the space?

    – Ed

    #4542
    tripthreat2409
    Member
    Post count: 77
    This reply has been marked as private.
    #4666
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Add this custom CSS:

    .home .alt-bg {
        margin-top: 0 !important;
    }

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #4718
    tripthreat2409
    Member
    Post count: 77

    Worked! Thanks!

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