Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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,
    Martin

    #1416514

    Hey 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,
    Mike

    #1416538

    Hello Mike, e.g. iPhone SE or iPhone 12 landscape…

    #1416539

    Hi,
    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,
    Mike

    #1416743

    Wow Mike, that’s a perfect solution – thank you!

    #1416752

    Hi,
    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Framed pictures?’ is closed to new replies.