-
Notifications
You must be signed in to change notification settings - Fork 6
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
Got class? #30
Comments
I was almost hesitant to add this, knowing our goal is to eliminate as much cruft as possible, but I think having a very small number of classes/IDs to target might not be a bad thing. |
I’d like to consider that we provide a completely “classless” flavour as the default version of Tersus. We could then provide “some” classes and additional IDs in the advanced layouts only. |
Since starting to use the Theme-Check plugin, I’ve noticed that WordPress “requires” the following classes:
Some of these make complete sense, like the image alignment classes. I would consider adding these to the stylesheet, whether or not the decrufted code includes them right now. At least they’d be there for the child themes to hook onto. |
I’ve added the aforementioned “required” classes to a |
Also according to the WordPress Theme Check Guidelines, inclusion of the To illustrate this, the following list of CSS classes was obtained from
Now, that’s a lot of cruft. I recommend that we reintroduce the
Optionally, we could expand the list to include these somewhat benign (but related) classes.
Your feedback is appreciated. |
I agree. I think limited, specific classes would be ideal. |
Cool. Check it … 4110372 |
I’ve updated the labels for this issue to reflect that it requires documentation. Case in point, I’d like to add a section to the read me which lists which core classes we have included in the theme. |
Targeting some of the elements on the page is proving difficult without a class or id to target. Would you all be opposed to adding a class to the
<p>
surrounding post meta on posts? e.g.<p class="meta">
The text was updated successfully, but these errors were encountered: