The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] How to add rounded corners to carousel slide

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #180876

    I’m trying to add rounded corners to a bootstrap carousel, but it’s not working as expected. I created a class named rounded:
    [MOD EDIT – Codedump Removed]_

    At first when the page loads there are no rounded corners, but if you hover over the image they appear. Not sure why this is happening. I have tried adding the .rounded class to a bunch of different blocks to no avail.

    Any ideas?

    link here…


    sorry i don’t know why the html is not displaying correctly :(


    The rounding is there but the background color(s) of the controls is hiding it.

    Try adding this

    .carousel-control {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    opacity: .5;
    filter: alpha(opacity=50);
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    border-radius: 9px; <---- or whatever 

    Thanks Paulie, That did it. I think that was the only thing I didn’t attach .rounded to :)

    One more thing…. If I wanted to add a drop shadow where do you think it should be added to?


    Drop shadow to what?


    Never mind I got it. Thanks again for the help!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.