Decrease image size on "display posts" widget

  • Unknown's avatar

    Hi!

    I have two different blogs and I’m trying to use “Show posts from other WordPress blog” widget on both of them so people can follow my work on both ends.

    Right now I’m using the footer area to show the widget with images but I feel the image size is too big… Is there a way to decrease the size of those images on that widget?

    This is the CSS I’ve been trying use on this one:

    .jetpack_display_posts_widget-3 {
    	max-width: none;
    }
    
    .jetpack_display_posts_widget-3 img {
    	width: 55px;
    }

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Try this instead, you don’t have to centre the content but I think it looks pretty good. You can pick what factor you want to reduce the image by – the first time sets the default and the second for tablet/mobile when the footer widgets take up the whole screen width:

    .jetpack-display-remote-posts {
    	text-align: center;
    }
    .jetpack-display-remote-posts img {
    	width: 60%;
    	height: auto;
    }
    @media (max-width:768px) {
    	.jetpack-display-remote-posts img {
    		width: 40%;
    		height: auto;
    	}
    }
  • Unknown's avatar

    Perfect!! It looks so much better! Now I can use it on the sidebar.

    Thanks!

  • The topic ‘Decrease image size on "display posts" widget’ is closed to new replies.