Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #885903

    Hello,
    i made a custom css code that the Image description from a Picture is displayed in a circle on the right:

    It will Display the text like this on the Picture:

    Now i want to crop all Pictures on the site to the same size. I used the Overflow function. But now the circle gets cut offf:

    Is there a way to show the whole circle?
    Here is my css code:

    .page-id-310 . (Purchase code hidden if logged out) p {
    top: 60px;
    left: 165px;
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    font-size: 25px;
    line-height: 110px;
    text-align: center;
    background: #A67C52;
    color: white;
    font-weight: bold;
    CSS-moz-transform: rotate(-20deg);
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    }

    .page-id-310 .avia-image-container-inner {
    width: 288px;
    height: 162px;
    overflow: hidden;
    }

    I allready tried to use the z-index function but didn’t get it to work.

    Can someone help me please?

    • This topic was modified 1 week ago by  Jannis95.
    • This topic was modified 1 week ago by  Jannis95.
    • This topic was modified 1 week ago by  Jannis95.
    • This topic was modified 1 week ago by  Jannis95.
    #886315

    Login Data:

    #886349

    Hi,

    Thanks for the login details, on which page can we see the problem?

    Best regards,
    Rikard

    #886379

    „Schnäppchen“

    #887135

    Hi,

    Add a z-index: 999 !important;
    to your circle and that will fix the issue most probably for you.

    Best regards,
    Basilis

    #887163

    Hey,

    Sadly, it isn‘t working. Can you take a look?

    #888044

    Anyone?

    #888096

    Hi,

    I checked the element and I can not see the z-index value.
    Can u let me know when u add so I can fully review?

    Best regards,
    Basilis

    #888105

    It was aleady in?!?

    See:

    .page-id-310 . (Purchase code hidden if logged out) p {
    top: 60px;
    left: 165px;
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    z-index: 999 !important;
    font-size: 25px;
    line-height: 110px;
    text-align: center;
    background: #A67C52;
    color: white;
    font-weight: bold;
    CSS-moz-transform: rotate(-20deg);
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    }

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.