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

Include vendor styles for WordPress selectors #142

Open
dustin-jw opened this issue Nov 10, 2023 · 0 comments
Open

Include vendor styles for WordPress selectors #142

dustin-jw opened this issue Nov 10, 2023 · 0 comments

Comments

@dustin-jw
Copy link
Contributor

The theme check plugin can be used to validate themes against a test suite to report any issues with the theme.

We get recommendations to add styles for the following CSS classes:

RECOMMENDED .wp-caption css class is recommended in your theme css.
RECOMMENDED .wp-caption-text css class is recommended in your theme css.
RECOMMENDED .sticky css class is recommended in your theme css.
RECOMMENDED .gallery-caption css class is recommended in your theme css.
RECOMMENDED .bypostauthor css class is recommended in your theme css.
RECOMMENDED .alignright css class is recommended in your theme css.
RECOMMENDED .alignleft css class is recommended in your theme css.
RECOMMENDED .aligncenter css class is recommended in your theme css.
INFO .screen-reader-text CSS class is generated by WordPress and needs to be styled with your theme CSS.

We should add these to a vendors/_wordpress.scss partial with reasonable default styles, possibly looking at other themes to see what they set for those classes.

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