Okay
  Public Ticket #974879
Reduce space between text and image gallery
Closed

Comments

  • Sewak started the conversation

    Hi,

    I have a heading with an image gallery underneath it. But the heading is too far above the image gallery and I haven't used any padding. Do you know how I can reduce the space between the heading and the image gallery? I have added a print screen for clarification

    Thank you,

    Sewak Aramjan

  •  8,996
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    .wpb_gallery.wpb_content_element.clearfix {
        margin-top: -30px !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Sewak replied

    You are a wizzard. Thank you!!

  • Sewak replied

    Hi Tahir,

    The code you gave me works, but it also effects the other gallery types. 
    I am using the Touch Enabled & Spaced gallery, but the heading on the image gallery grid also shifts down.
    See attachment for clarification.

    Do you know a code that only effects the Touch Enabled & Spaced gallery gallery type?

    Thank you,

    Sewak

  •  8,996
    Tahir replied

    Use this Css instead: 

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :

    .wpb_gallery_slidesflickity_style {
        margin-top: -45px !important;
    }

    Thanks



    ThemeNectar Support Team 

  • Sewak replied

    Thank you!