Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #981634

    Hello,
    I’ve used the image elements with caption displayed while hover and a link to lightbow view. I can also see all my images whith the next button but the caption (or description in the media library – done the the 2 last images) are not displayed.
    Do u know why?
    Credentials above.
    Tx guys !!

    #982275

    Hey newki75,

    I tried to login with that password and I got an error, could you please review?

    Best regards,
    Basilis

    #982966
    This reply has been marked as private.
    #983486

    Hi,
    I see that you have the glasses with caption displayed while hover and a link to lightbow view.
    But they seem to display for all of them, so I don’t understand the last part of your question,

    2 last images are not displayed

    Best regards,
    Mike

    #983554

    Here is a print screen link to explain better : https://www.dropbox.com/s/lotvfr2zdyob79s/Capture%20d%27%C3%A9cran%202018-07-10%2010.00.31.png?dl=0

    I thought I could get a description under / on the image while it is in lightbox. To able the user to see the different glasses models while using the lightbox slider.

    Tx Mike!

    #983660

    Hi,
    Thanks for the image, I see now.
    This is because you have a function in your functions.php to remove titles.
    Perhaps we can try to target only the titles you want to remove, which ones are they?

    Best regards,
    Mike

    #983669

    Ah OK !! I’d like to remove the title of the images while hover when the images are in the image element. It’s not nice / useful ;-)

    #983676

    Hi,
    Is it the images on this one page that are your biggest concern?
    Or if is images on other pages too, are they always in the image element within a 1/4 column?
    I’m asking to find a common factor to target them with.

    Best regards,
    Mike

    #983684

    I’ve removed the code in functions.php to check. The answer os for all pages : for instance the logo block at the bottom of the homepage, the image in 1/2 column in Fendi page…
    Tx Mike :-)

    #983966

    Hi,
    I added this code to the end of your functions.php file in Appearance > Editor:

    function custom_img_title_script(){
      ?>
      <script>
      jQuery(window).load(function(){
      jQuery('#top.home img').removeAttr('title');
      jQuery('.av_one_half img').removeAttr('title');
      jQuery('.avia-slide-wrap img').removeAttr('title');
      jQuery('.av_one_third img').removeAttr('title');
      });
      </script>
      <?php
      }
      add_action('wp_footer', 'custom_img_title_script');

    It seems to be removing the title from all images except the glasses that you will be opening in a lightbox.
    If you follow the same format onto your new pages, I would expect the lightbox title to also show on them.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #984613

    Hey Mike,

    Seems to be perfect, thanks.
    Can we keep the issue open for a week? I’m waiting for the client comments before developping the other brands and be sure it’s ok for alla pages.
    Tx and have a nice day!
    Marine

    #984630

    Hi,
    Yes, we will keep this open until we hear back from you. Have a great day.

    Best regards,
    Mike

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