Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1489024

    I am a newbi on Enfold. When I added a caption to an image the text comes in the middle of the image.
    How to make so it comes in the lower part om the image?

    #1489029

    Hey oburlin,
    For the image caption, you will note in the element that it’s placement is in the overlay:
    Screen Shot 2025-09-06 at 7.14.36 AM
    To move to the lower part of the image, I see that you have added this custom css:

    .av-image-caption-overlay {
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
        bottom: 0px !important;
        color: black !important;
        height: auto !important;
        left: 50% !important;
        transform: translate(-50%) !important;
        width: auto !important;
    }

    Resulting in this:
    Screen Shot 2025-09-06 at 7.18.09 AM
    To make it one line try removing width: auto !important; from your css.
    Then you would see:
    Screen Shot 2025-09-06 at 7.20.28 AM
    If you want the caption below the image, try this css instead:

    #top .av-image-caption-overlay {
        height: auto;
        width: 100%;
        left: 0px;
        bottom: 0px;
        transform: translateY(100%);
    }
    #top .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
        opacity: 0.4 !important;
    }
    #top .avia-image-container .av-caption-image-overlay-bg {
        opacity: 0.4;
        background-color: transparent;
    }
    #top .avia-image-container .av-image-caption-overlay-center {
        color: #000;
    }

    resulting in this:
    Screen Shot 2025-09-06 at 7.31.39 AM

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.