SLIDER CAPTION ONLY IN FIRST IMAGE

Home Support eCommerce Gem SLIDER CAPTION ONLY IN FIRST IMAGE

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8586
    Anonymous
    Inactive

    Is there a way to show the slider caption only on the first item of the slider? I’ve tried this CSS

    .main-slider .item:not(:first-child) .slider-caption{
    	display: none;
    }

    but it seems something is not working with some additional CSS i’ve put to not show the slider-caption

    
    .main-slider .item {
        padding: 250px 0px;
    }
    
    .main-slider .slider-caption {
        display: none;
    }
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.