Okay
  Public Ticket #757233
Change position of slider content
Closed

Comments

  • Kasper started the conversation

    Hi guys

    I would like to move the content (text and buttons) in one of my slides.

    I tried with this custom css:

    .nectar-slider-wrap[data-full-width="false"] .swiper-slide .content {
        top: 400px !important;
    }

    But then it moved the content in all the slides. How can I avoid this? :)

    I would like to move the content in slide 2 only

    Thank you

    - Kasper


  •  8,394
    Tahir replied

    Hey ,

    You can use the nth-child selector or add a extra class in the Nectar Slide and then use that to target the slide.

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

    .nectar-slider-wrap[data-full-width="false"] .swiper-slide:nth-child(3) .content {
        top: 400px !important;
    }
    

    Best.


    ThemeNectar Support Team 

  • Kasper replied

    Perfect! Thank you :)