Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1018875
    logoglo
    Participant

    Hi there, can you please check out the image hovers here:

    http://www.logoglo.com/affordable-logo-design-graphic-design-2/

    It is extending past the actual image, how do I fix this?

    Thanks.

    #1018916
    John Ezra
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.

    .page-id-8296 div#x-content-band-5 a.x-img>img {
        width: 100%;
    }

    This will make the image of the recent posts full-width so that the overlay matches for this specific page and section. Or you could use the following instead, which reduces the overlay effect to match your image size.

    .page-id-8296 div#x-content-band-5 a.x-img:hover {
        width: 76%;
        margin-left: auto;
        margin-right: auto;
    }

    Hope this helps – thanks!

    #1018931
    logoglo
    Participant

    Perfect, thanks!

    #1018987
    John Ezra
    Member

    You’re most welcome! 🙂

  • <script> jQuery(function($){ $("#no-reply-1018875 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>