Home Support eCommerce Gem SLIDER CAPTION ONLY IN FIRST IMAGE

This topic contains 0 replies, has 1 voice, and was last updated by  jedp621 1 month, 1 week ago.

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

    imacouzet
    Participant

    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.