Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #427002

    Hello,

    As you will notice viewing this testpage, I placed an image two times with different captionbehavior.
    http://www.delocht.nl/?page_id=3160
    De first is an “image”, the second a single “slide”. In the slide it is a “caption title”.
    I do not like the transparancy behavior of the whole image when using a caption.
    I prefer a small background of the caption, not covering the whole image, just the same as the background of the caption title of a single slide..
    I would like to have a CSS-snippet to make all captions on images like the one on the single slide.
    Can you help me?

    Regards

    Blauwoog

    #427247

    Hi blauwoog!

    Thank you for using Enfold.

    Add this to the Quick CSS field:

    .av-image-caption-overlay {
      background: transparent;
    }
    
    .av-image-caption-overlay-center > * {
      background: rgba(0,0,0,0.4);
    }

    Cheers!
    Ismael

    #427797

    Thanks Ismael!

    It looks good.
    But I like to play with de place of the text, depending on what is seen on the image.
    What’s the parameter in the CSS-snippet to use?
    Let’s say I want to move the text more to the bottomline or more to the top.
    Please show me these two possibilities in the CSS code.

    Thanks a lot!
    Great theme, by the way

    Blauwoog

    #427849

    Hey!

    Please add following code to Quick CSS and adjust as needed

    .avia-caption {
      bottom: 40px;
      left: 50px;
    }

    Best regards,
    Yigit

    #428293

    Hello Yigit,

    It does’nt work. Is it “avia-caption” or “av-caption”?
    To get it right..this is the code I use, and the overlay-text .is still centered.
    I used “avia” as well as “av”
    Please be patient with me..

    regards
    Blauwoog

    
    .av-image-caption-overlay {
      background: transparent;
     }
    
    .avia-caption {
      bottom: 10px;
      left: 10px;
     }
    
    .av-image-caption-overlay-center > * {
      background: rgba(0,0,0,0.4);
     }
    
    #429388

    Hey!

    If you can provide a screenshot of how you want the caption to look like, it will help. Use imgur or dropbox. :)

    Regards,
    Ismael

    #429905

    there you go!

    regards
    blauwoog

    #430816

    Hi!

    Thank you for the screenshots. First, you need to update the theme to version 3.1.3 then add this to the Quick CSS field to adjust the position of the image element caption:

    .av-image-caption-overlay-center {
      display: block;
      width: 50%;
      bottom: 20px;
      left: 20px;
      position: absolute;
    }
    
    .av-caption-image-overlay-bg {
      display: block;
      height: 30px;
      width: 50%;
      position: absolute;
      left: 20px;
      bottom: 20px;
    }

    Cheers!
    Ismael

    #855628

    AWESOME! Fixed my recent issue too!
    Thanks!

    #855911

    Hi,
    Glad we were able to help, Thank you for using Enfold.

    Best regards,
    Mike

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