Okay
  Public Ticket #178509
Decrease leading in nectar slider
Closed

Comments

  • Lou started the conversation

    Hello, is there a way to decrease the vertical spacing or leading between all 3 elements in the nectar slider- the large text, the sub text and the button? I only see posts for adding space. Thanks

  •  8,847
    Tahir replied

    Hey Lou!

    Add this into the Custom CSS box located in your Salient Options panel:

    #boxed .swiper-slide .content h2 { line-height: 30px; } .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content h2 { line-height: 40px; } .swiper-slide .content p { padding-bottom: 0px; }

    Cheers


    ThemeNectar Support Team 

  • Lou replied

    Hi Tahir, thanks so much. It appears to have fixed the spacing between the button and the smaller p text perfectly but doesn't seem to have effected the upper spacing between the large h2 and the p. 

  •  8,847
    Tahir replied

    Hey Lou!

    The spacing seem to be the same btw h2 and p ?. Were you able to sort this out ?. 

    Cheers


    ThemeNectar Support Team 

  • Lou replied

    Hi Tahir, please see screenshot to better explain what I'm seeing. Thanks again for your help.

  •  8,847
    Tahir replied

    Hey Lou!

    Simply decrease the line height in here:

    #boxed .swiper-slide .content h2 {
    	line-height: 12px;
    }

    Cheers


    ThemeNectar Support Team 

  • Lou replied

    Hi Tahir, I've tried this but it doesn't want to move. Thanks for hanging in there.

  •  8,847
    Tahir replied

    Hey!

    Try adding it with a !important like below:

    #boxed .swiper-slide .content h2 {
    	line-height: 12px !important;
    }

    Cheers


    ThemeNectar Support Team 

  • Lou replied

    That worked. That's for hanging in there. :)

  • Daman replied

    Having the same problem, I am not able to reduce the caption leading.

    Thanks Tahir!

  •  8,847
    Tahir replied

    Hey Daman!

    Please always provide us the page url so we can troubleshoot. 

    Thanks 


    ThemeNectar Support Team