Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#6376 closed defect (bug) (reported-upstream)

Theme preview is bugged for all themes in the directory

Reported by: superbthemescom's profile superbthemescom Owned by:
Milestone: Priority: high
Component: Theme Directory Keywords:


The preview is aligned right, and 20% of the content is missing in the view on all themes in the directory.

Here's how you reproduce it:

  1. On a website with WordPress installed, go to the themes tab and click "Add new": /wp-admin/theme-install.php?browse=popular
  2. Pick any theme and click "Preview".

This bug doesn't occur on when clicking the preview button, only on websites with WordPress installed.

Can't figure how to upload images, but the bug is easy to replicate anyways.

The bug is caused by following CSS:

#customize-container iframe, .theme-install-overlay iframe {
    width: 100vw;

Changing it to follow, fixes it:

#customize-container iframe, .theme-install-overlay iframe {
    width: 100%;

Change History (4)

This ticket was mentioned in Slack in #meta by joyously. View the logs.

15 months ago

#3 @tellyworth
15 months ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Closing since this is best handled in the core ticket linked by @joyously.

#4 @SergeyBiryukov
15 months ago

Hi there, welcome to WordPress Meta Trac! Thanks for the ticket.

As the ticket linked above was closed on a completed milestone, I've transferred this report to a new one: #WP56097, let's continue there.

Note: See TracTickets for help on using tickets.