Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different size images for testing alignments #51

Open
joyously opened this issue Aug 24, 2019 · 1 comment
Open

Use different size images for testing alignments #51

joyously opened this issue Aug 24, 2019 · 1 comment

Comments

@joyously
Copy link
Contributor

I never thought it would happen, but someone wrote a theme with CSS specific to the unit test data, which makes the image alignment pages look okay even though the standard WP classes were not defined.
https://themes.trac.wordpress.org/ticket/71793#comment:3

Remove the CSS that is specific to the unit test data:

.content-page .alignleft{ width: 150px;}
.content-page .alignright{ width: 300px;}
.content-page .aligncenter{ width: 580px;}
.post-content .alignright{ width: 300px;}
.post-content .aligncenter{ width: 580px;}
.post-content .alignleft{ width: 150px;}

It would also be good to test large images aligned left or right, and large captioned images centered.

@joyously
Copy link
Contributor Author

Would you believe there was another one!?
https://themes.trac.wordpress.org/ticket/71940#comment:3

Remove this CSS which is specific to the unit test data:
.blog-detail .alignleft { height: 150px; width: 150px; }
.blog-detail .aligncenter { height: 300px; width: 580px; }
.blog-detail .alignright { height: 200px; width: 300px; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant