Skip to content

Instantly share code, notes, and snippets.

@mohitrajput
Created March 26, 2020 14:04
Show Gist options
  • Select an option

  • Save mohitrajput/07bab367565bd8dd8ac86e2e4e98134a to your computer and use it in GitHub Desktop.

Select an option

Save mohitrajput/07bab367565bd8dd8ac86e2e4e98134a to your computer and use it in GitHub Desktop.
CSS for Product List
.productListingwrap .carousel ol.carousel-indicators li {
width: auto;
height: auto;
padding: 3px;
background: #e8e8e8;
border: 1px solid #e2e2e2;
margin: auto;
float: none;
display: inline-block;
}
.productListingwrap .carousel ol.carousel-indicators li.active {
height: auto;
background: #1488c9;
border-color: #1488c9;
}
.productListingwrap .carousel,
.productListingwrap .carousel-inner {
display: block;
}
.productListingwrap .carousel-inner .item {
margin-bottom: 0;
padding-top: 0;
}
.productListingwrap .carousel-inner .item img {
margin: auto;
}
.productListingwrap .carousel,
.productListingwrap .carousel-indicators {
bottom: 2px;
}
.productListingwrap .carousel .carousel-control {
background: none;
}
.productListingwrap .carousel .carousel-control .glyphicon {
top: auto;
bottom: 3px;
font-size: 14px;
color: #e8e8e8;
}
.productListingwrap .carousel .carousel-control .glyphicon-chevron-left {
width: 20px;
height: 20px;
margin-left: -15px;
}
.productListingwrap .carousel .carousel-control .glyphicon-chevron-right {
width: 20px;
height: 20px;
margin-right: -15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment