Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1423123

    Hi,

    I have two issues with my images.

    1. On my home page, I have a series of six images setup in a masonry gallery and stretched fullwidth in one horizontal row. When the site is seen in a smaller screen (tablet or laptop?), the images appear unbalanced. For instance, four images appear in one horizontal row and two in a row underneath with a big grey space next to it. It looks odd. Is there a way to have three images on one row and three on another row underneath so they are evenly distributed?

    2. When my cursor is hovering over my images I now see the image titles (in most of my images, including my logo, but not on my photos on my voice over page or my headshot on my about page). I just installed the Yoast SEO plugin, could this be the problem? Please advise. Speaking of Yoast, I deactivated my maintenance plugin. But in Google search, it keeps showing the text from my maintenance page rather than the text from my site, which is now live. Could it be an issue with Yoast? And is this something you can help me with?

    I have put my login and other information in the private link.

    Many thanks!

    #1423343

    Hey steveorrmedia,
    Thank you for your patience and the link to your site, for your first issue I found that between 1340px & 1799px you were seeing the four images appear in one horizontal row and two in a row underneath with a big grey space next to it, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field t correct:

    @media only screen and (min-width: 989px) and (max-width: 1799px) {
    .responsive .av-masonry-col-flexible .av-masonry-entry {
        width: 33.3%;
    }
    }

    For your second issue, having good titles for your images is good for SEO, but I notice that your titles are not very good, for example see the first screenshot below: “Steve5 In Action – Copy” try going to your media library and check each image and make the titles something that you would want to see on google like: “Award winning broadcaster Steve teaches”
    Ok, then I know you don’t want to see the titles when you mouse-over the images, so to correct try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_remove_title_on_mouse_over_script() { ?>
      <script>
    (function($){
      $('img').hover(function(e){
          $(this).attr('data-title', $(this).attr('title'));
          $(this).removeAttr('title');
      },
      function(e){
          $(this).attr('title', $(this).attr('data-title'));
      }); 
      $('.av-masonry-image-container').hover(function(e){
          $(this).attr('data-title', $(this).attr('title'));
          $(this).removeAttr('title');
      },
      function(e){
          $(this).attr('title', $(this).attr('data-title'));
      }); 
      $('a').hover(function(e){
          $(this).attr('data-title', $(this).attr('title'));
          $(this).removeAttr('title');
      },
      function(e){
          $(this).attr('title', $(this).attr('data-title'));
      }); 
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_remove_title_on_mouse_over_script', 99);

    Then clear your browser cache and check.

    Best regards,
    Mike

    #1423350
    This reply has been marked as private.
    #1423395

    Hi,
    The second code goes in your child theme functions.php file, I added it for you:
    Enfold_Support_3769.jpeg
    please clear your browser cache and check.

    Best regards,
    Mike

    #1423401
    This reply has been marked as private.
    #1423425

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1423446

    Rikard,

    Yes, please close it.

    And, for what it’s worth, Mike has been incredibly helpful and patient with me (a novice!) on several of my issues. He’s also been great showing me how he fixed my problems.

    Best,

    Steve Orr

    #1423458

    Hi,
    Glad we were able to help, and thank you for the kind words, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Image Issues’ is closed to new replies.