-
AuthorPosts
-
August 17, 2023 at 4:48 pm #1416492
Hello,
a customer wants white borders around images, which can be seen here: http://vietnamazing.eu/flagship-species-projects/
However, there are always problems with the mobile display, when the frames are wider than the image. I’ve also tried it with a white shadow, but the customer wants hard edges. And I don’t think you can adjust the shadow.What can you do?
Best regards,
MartinAugust 18, 2023 at 1:11 am #1416514Hey Martin,
Thanks for your question, I checked your page on mobile and see that you have a 6px border which looks correct, when do you see that issue “the frames are wider than the image”?Best regards,
MikeAugust 18, 2023 at 10:07 am #1416538Hello Mike, e.g. iPhone SE or iPhone 12 landscape…
August 18, 2023 at 12:38 pm #1416539Hi,
Thanks for the feedback, I don’t have an iPhone but I believe that I see the issue on Android in landscape mode, please see the screenshot in the Private Content area.
So I recommend removing your border from the column and use this css to add a border around the image, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.avia-image-container .avia-image-container-inner { border-width: 6px; border-color: #ffffff; border-style: solid; }If you would like to ensure that this border is only applied to specific images, try adding a custom class to the image such as image-border and then add your custom class to the css like this:
.image-border.avia-image-container .avia-image-container-inner { border-width: 6px; border-color: #ffffff; border-style: solid; }After applying the css, please clear your browser cache and check.
Best regards,
MikeAugust 21, 2023 at 9:07 am #1416743Wow Mike, that’s a perfect solution – thank you!
August 21, 2023 at 12:08 pm #1416752Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Framed pictures?’ is closed to new replies.
