Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1258861

    Hi @yigit

    1: You missed my last question here:
    https://kriesi.at/support/topic/urgent-images-not-loading/

    2: I got a masonry gallery with:
    Display title and description as overlay by mouse over
    On mobile the overlay is always there which is the worst version possible since it covers the whole image.
    Much better would be not to show the overlay at all on mobile.
    How can i get that?
    (No, a second gallery only for mobile via responsive-settings is not an option since it heavily increases the pageload)

    So please provide me a solution either via CSS or functions.php

    thanx

    #1259514

    Hey MarcusJeroch,

    Thank you for the inquiry.

    1.) Unfortunately, there is no way to jump from one gallery to another without clicking first an image that belongs to a certain set or gallery.

    2.) To completely disable the caption on mobile view, we could use the following css code.

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      .avia_desktop .av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry:hover .av-inner-masonry-content {
        display: none !important;
      }
    }
    

    Best regards,
    Ismael

    #1260864

    Before i added the CSS i realized a new issue:
    On ALL galeries the “hover in on mouse over” stopped working
    The overlay on mobile is still there

    In short:
    All “hover out” works.
    All “hover in” does not.

    Hover out on mouse over still works, showing overlays or descriptions constant still works…but “hover in” does not.
    I cleared the cache, toggled the enfold merge settings …nothing changed

    marcus

    #1261475

    Hi,

    Thank you for the update.

    The css code above should have disabled the overlay completely or prevent it from displaying. Please post the login details in the private field so that we could check the issue properly. For the meantime, please check the css modification and make sure that there are no syntax errors such as missing curly braces or semi colons.

    Best regards,
    Ismael

    #1261516

    Like i said:
    BEFORE i added the CSS i realized a new issue:”

    I cant give you access to my localhost

    #1262245

    Hi,

    Thank you for the update.

    Would you mind posting the htaccess and WP login info in the private field so that we could check the element settings? For some reason, the title and caption container in the masonry items are missing so nothing shows up on hover.

    Best regards,
    Ismael

    #1262378

    It doesnt make to much sense if i give you access to the website, when the actual issue does ONLY exist on the new build version on my localhost.

    To avoid more misunderstandings:
    1: The initial issue is on my website online
    2: The new issue (no hover in) does exist only on my localhost version.

    But if you think that it helps if you look into a website where the issue does not exist – see private field

    #1263168

    Hi,

    Thank you for the update. It would not help looking on a page where the issue does not occur, but when we checked the live site, the overlay effect or the content container does not appear on hover. Did you disable it on the live site?

    Best regards,
    Ismael

    #1263560

    Which specific URL did you look at?
    If here: https://marcusjeroch.de/galerie/…Yes, its disabled

    So we need to find the reason for the issue by any other way
    Marcus

    #1263858

    Hi,

    Thank you for the update.

    The option works fine on our own installation, so it is probably cause by a custom modification or by a plugin. Unfortunately, we will not be able to help further if we cannot see or reproduce the issue. The overlay effect still works on the dev and live site.

    Best regards,
    Ismael

    #1264023

    Very, very strange….it fixed itself magically by leaving it alone for some days.

    BUT…the code you gave me does not work:

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      .avia_desktop .av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry:hover .av-inner-masonry-content {
        display: none !important;
      }
    }

    The overlay is still there on mobile.

    #1264933

    Hi,

    Did you remove the cache before checking the page? Or try to check the site again on incognito mode.

    If it is not working, try this one instead.

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      .av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry:hover .av-inner-masonry-content {
        display: none !important;
      }
    }
    

    Best regards,
    Ismael

    #1264983

    Yes i checked it incognito und cleared the cache.
    I checked both of your codes
    Result :
    Mobile: still there
    This is weird.

    Could you please have a look into my CSS?
    Maybe there is something wrong but i dont see anything that could cause that issue
    CSS in private field

    thanks Marcus

    #1265419

    Hi,

    Thank you for following up.

    We did not find any invalid code in the css modifications above aside from an empty css declaration, which we removed. This is the formatted version of the css code in the site.

    // https://pastebin.com/E2bq5B2V

    It works when we add this css in the Quick CSS field.

    @media only screen and (max-width: 767px) {
       .av-inner-masonry-content {
    	display: none !important;
        }
    }
    

    See private field.

    Best regards,
    Ismael

    #1265714

    Is there any good reason why i should put your code into the Quick CSS field instead of the CSS file?

    #1265885

    Hi,

    It will be safe from being overwritten due to accidental or unexpected updates.

    Best regards,
    Jordan Shannon

    #1265886

    Hi,

    Unless you are using a child theme, then all updates are safe.

    Best regards,
    Jordan Shannon

    #1265965

    Of course i use a child theme.

    OK, problem solved, thread can be closed.
    Thanx

    #1266181

    Hi,

    Awesome. We will close the thread now. Please do not hesitate to open a another should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Issue with Masonry on mobile’ is closed to new replies.