Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1334933
    insomniag
    Participant

    Hi,
    I have read many previous posts on this forum but I am not sure if the replies apply to my case. Especially because of the theme updates.
    I have this site http://www.thebinaryoptions.guru and I would like the recent posts shortcode to show original aspect ratio images and not cropped versions of them. But,at the same time,the recent posts boxes to be the same size. In other words, the rest of the box should be filled with white space in order to keep the same size in all of them. Like the screenshot below:

    #1334955
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .x-recent-posts .x-recent-posts-img {
        position: relative;
        padding-bottom: 56.25%;
        background: center center/contain no-repeat;
    }

    Hope that helps.

    #1335532
    insomniag
    Participant

    yes that works, thanks!!

    #1335774
    Jade
    Moderator

    You’re welcome.

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