Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #533947

    Hi, I have a couple of questions…

    1) I recently received help in getting a single image to link to a gallery lightbox, but I would like to know now whether it’s possible to have an overlay + text on top of the image? I realize it’s possible to create that effect by inserting an image into a grid row like in this demo: http://kriesi.at/themes/enfold-shop/
    However, is this effect possible in my case since I’ve put the gallery images into a code box? I’ve included my page address below if that helps.

    2) On my page, I can’t seem to get the color section that holds “Check out our demos” any smaller than the current height. I’ve put in a 50px custom height but nothing really seems to change, and the text is off-center. Is there a way to fix that?

    Thanks in advance.

    #534571

    Hi mxshi,

    I’m not sure what you mean by your first question, could you try to explain a bit further?

    Please try the following CSS for number 2:

    .page-id-2457 #av_section_2 {
        min-height: auto !important;
    }

    Regards,
    Rikard

    #534629

    Hi,
    My first question is how to get my image links to look like this: image
    I currently have an image gallery coded using a codebox…I’m not sure how to create the effect above?

    I also tried the code you provided but nothing seems to have happened?

    #534814

    Hey!

    Please use Grid Row element under Layout Elements of Advanced Layout Builder.

    Cheers!
    Yigit

    #535270

    Hi, thanks for the reply. My question is actually whether it’s possible to have this overlay text effect for an image that links to a gallery lightbox… I played around with it and it seems like it’s only possible to have that single image open in a lightbox. I wonder if it’s possible to have this effect but also link to a lightbox gallery of multiple images? Currently I’m using a code box to create this effect, but I don’t know how to get the text overlay like in the above example.

    Here’s the code I’m using, if that helps:

    <div class = "post-entry">
    <a href = "URL to your main image"><img src = "URL to your main image" /></a>
    <a href = "URL to your other images" style = "display: none;">&nbsp;</a>
    <a href = "URL to your other images" style = "display: none;">&nbsp;</a>
    etc etc
    </div>
    #537734

    Hi!

    not sure what you mean, because you can achieve this hover effect with any image when adding an image element using ALB. Just edit the image element and click on “Link settings” and choose “Lightbox”, then go to “Caption” tab and choose your custom caption, which will be applied as hover effect.

    Cheers!
    Andy

    #537797

    Hi,
    It would be great if someone could help me with my first question above, how to make the space beneath “check out our demos” smaller:
    title

    I’ve tried the code given by Rikard and nothing seems to have happened? Thanks!

    #538106

    Hi!

    This is how it looks like on my end – http://i.imgur.com/TQG2gKs.png
    Can you please flush browser cache and refresh your page a few times?

    Regards,
    Yigit

    #538706

    Hm, it seems to be fine on Chrome, but in Safari it still looks like the previous image, even after I cleared the cache?

    #540594

    Hi!

    I’m sorry but I can’t reproduce the issue on Safari, Windows 8. Are you on mac? Please add this in the Quick CSS field:

    .avia-safari #av_section_8 {
        padding-top: 50px;
    }

    Cheers!
    Ismael

    #540629

    Hi Ismael,
    I tried the code and it still looks the same as above, no changes. Yes, I’m on Safari on Mac.

    Additionally, I’m having a strange little problem where there’s a little bit of extra padding at the bottom of the grid row, and I don’t know why…
    grid row

    Thanks for the help!

    #543182

    Hi!

    upload images with same size and/or use a plugin like this to control WordPress’ image cropping: https://de.wordpress.org/plugins/simple-image-sizes/

    Cheers!
    Andy

    #544319

    Hi,
    I’ve checked and reuploaded my images so they’re all the same size, but I’m still getting the extra space at the bottom of the grid row. Any other ideas?

    Also, this white rectangle appears whenever I hover over my lightbox image:
    hover
    This happens when I first load the page and hover over the images for the first time.

    Thanks

    #545512

    Hi!

    Please add following code to Quick CSS

    span.image-overlay.overlay-type-image { top: 0!important; }

    Cheers!
    Yigit

    #545773

    Great, that solved it!

    About the extra padding below the grid row — I noticed the color is always #f8f8f8, and I was wondering if there’s a way to change just that color, if there isn’t a way to get rid of that extra space completely?

    Thanks for the help so far

    #545929

    Hey!

    Please add following code to Quick CSS as well

    #av-layout-grid-1,#av-layout-grid-2 {
        background: transparent;
    }

    Regards,
    Yigit

    • This reply was modified 8 years, 11 months ago by Yigit.
    #546234

    Thanks! That worked for the grid row on the top of the page, but looks like it didn’t apply to the second grid row at the bottom of the page?

    #546552

    Hi!

    i have edited my code above. Please try it now

    Cheers!
    Yigit

    #546804

    Hi,
    Seems like the second grid row on the bottom isn’t affected by the code, even after I put !important after it. Still looks like this:
    grid row

    #547055

    Hey!

    It seems like you have two hashtags in your code

    #av-layout-grid-2 {
        background: ##1d2b42 !important;
    }

    please remove one

    #av-layout-grid-2 {
        background: #1d2b42 !important;
    }

    Best regards,
    Yigit

    #547801

    Thank you! Everything seems to be fine, except for the spacing issue in Safari on Mac…
    spacing
    spacing

    I assume there’s no fix for that at this moment?

    #548900

    Hey!

    about which spacing issue are you talking about? I checked link in private content on Mac+Safari but could not find what you are showing on your screenshot. Can you provide us a precise link please? and explain what you want to achieve please?

    Cheers!
    Andy

    #549470

    Hi,
    Hopefully these images illustrate it better:
    1
    2

    I’ve checked on several computers and the extra space in Safari happens on all of them. Everything looks fine on Firefox and Chrome, though…

    Thanks for the help!

    #549856

    Hi!

    Please change this code – https://kriesi.at/support/topic/text-overlay-on-lightbox-image-link/#post-534571 to following one

    .page-id-2457 #av_section_2 {
        min-height: 53px !important;
    }

    Best regards,
    Yigit

    #550166

    Great, that fixed it! Thanks for all the help!

    #550445

    Hi,

    Glad we could help :-)

    Thanks,
    Rikard

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