Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1083458
    brittanyf
    Participant

    I created a custom post type of “Profiles” using Toolset Types (slug: profile). I was successful in adding the new post type to the Recent Posts element (yah!)

    However, the featured image is cut off. The images are all logos of various sizes and orientations. How can I scale them to fit proportionally within the recent posts container, rather than fill the frame?

    Example on this page: http://www.ghba.org/_beta/membership-ambassadors/

    Thanks in advance for your help!

    Brittany

    #1083662
    brittanyf
    Participant

    Solved!

    Figured it out, thank you.

    .x-recent-posts .x-recent-posts-img {
    background-size:contain;
    }

    #1083743
    Jade
    Moderator

    Glad to hear you got sorted, Brittany.

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