WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Thirteen: Responsive layout for entry media (2 posts)

  1. alun
    Member
    Posted 1 year ago #

    If you have a sidebar in Twenty Thirteen then Video and Image formats do not resize correctly. The video or image gets squeezed to the left half of the screen. See http://aobblog.alunsalt.com/video-test/ and reduce the width of the window to see the problem.

    The problem can be fixed by adding the the .sidebar .entry-media class somewhere in the section:

    @media (max-width: 999px) {
    	.sidebar .entry-header,
    	.sidebar .entry-content,
    	.sidebar .entry-summary,
    	.sidebar .entry-meta,
    	.sidebar .comment-list,
    	.sidebar #reply-title,
    	.sidebar .comment-navigation,
    	.sidebar #respond #commentform,
    	.sidebar .featured-gallery,
    	.sidebar .post-navigation .nav-links,
    	.author.sidebar .author-info,
    	.sidebar .format-image .entry-content {
    		max-width: 604px;
    		padding-left: 0;
    		padding-right: 0;
    	}

    in style.css

    I've left the broken version live on my site so you can check the problem.

  2. Thanks for finding that! I've confirmed the bug and opened a ticket here: http://core.trac.wordpress.org/ticket/23955

Topic Closed

This topic has been closed to new replies.

About this Topic