Okay
  Public Ticket #2349829
Nectar Slider custom header and button position.
Closed

Comments

  • oceanwerbung started the conversation

    Hello,

    I have a problem with positioning my header and caption text on the mainpage slider. I would like to make it a little bit higher, best would be if i could position them with percentage of the height of the slider. Is it possible? At the moment it is to low. Header and arrow is not properly visable.

    Thank you for your help.

    Stay safe!

  •  8,991
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    /* for desktop above 1000px  */
    @media only screen and (min-width: 1000px) {
        .nectar-slider-wrap .swiper-slide[data-y-pos="bottom"] .content {
            bottom:20vh !important;
        }
    }
    /* for mobile under 1000px */
    @media only screen and (max-width: 1000px) {
        .nectar-slider-wrap .swiper-slide[data-y-pos="bottom"] .content {
            bottom:20vh !important;
        }
    }

    Thanks


    ThemeNectar Support Team