-
AuthorPosts
-
December 7, 2017 at 5:06 am #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 .av-image-caption-overlay-center 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 7 years ago by Jannis95.
December 8, 2017 at 1:07 am #886315Login Data:
December 8, 2017 at 5:22 am #886349Hi,
Thanks for the login details, on which page can we see the problem?
Best regards,
RikardDecember 8, 2017 at 7:05 am #886379„Schnäppchen“
December 10, 2017 at 9:17 pm #887135Hi,
Add a z-index: 999 !important;
to your circle and that will fix the issue most probably for you.Best regards,
BasilisDecember 10, 2017 at 11:13 pm #887163Hey,
Sadly, it isn‘t working. Can you take a look?
December 12, 2017 at 7:23 pm #888044Anyone?
December 12, 2017 at 11:22 pm #888096Hi,
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,
BasilisDecember 12, 2017 at 11:44 pm #888105It was aleady in?!?
See:
.page-id-310 .av-image-caption-overlay-center 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);
}December 14, 2017 at 9:10 pm #889090Hi,
I check again and I do not see the element have that CSS on it.
Is there any cache?Also – why do you have the page-130 class on the element and not allow it to be everywhere?
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.