Okay
  Public Ticket #462079
Adjusting Nectar slider text
Closed

Comments

  • Darrell started the conversation

    Hi,

    i'm trying to adjust the position of the Slider header text to bring it up a little to be closer to the top.

    I've use the follwing code but nothing seems to be working....

    @media only screen and (max-width : 1000px) {

    body #ajax-content-wrap .nectar-slider-wrap div.swiper-slide .content h2 {

    font-size: 24px!important;

    line-height: 51px!important;

    margin-bottom: 40px!important;

    letter-spacing: -0.5px;

    }

    Thanks

  • Darrell replied

    Anybody?

  •  8,851
    Tahir replied

    Hey ,

    I noticed you using Revolution Slider.

    Thanks


    ThemeNectar Support Team 

  • Darrell replied

    Revolution slider on the home page and nectar on the portfolio pages.

  • Darrell replied

    please help

  •  8,851
    Tahir replied

    Hey ,

    Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
    .parallax_slider_outer.first-section .swiper-slide .content {
        margin-top: -100px !important;
    }

    Thanks



    ThemeNectar Support Team 

  • Darrell replied

    That works for desktop but it goes off the screen on mobile. Is there code for mobile screen size?

    Thanks.

  •  8,851
    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) :
    @media only screen and (max-width:760px){
    .parallax_slider_outer.first-section .swiper-slide .content {
        margin-top: -100px !important;
    }
    }


    Simply wrap the code in a media query for screens widths .

    Thanks


    ThemeNectar Support Team 

  • Darrell replied

    Thanks Tahir - That\'s perfect ;)

    So can i use this statement for everything?

    @media only screen and (max-width:760px)
    
  •  8,851
    Tahir replied

    Yes

    Thanks


    ThemeNectar Support Team