Skip to content

I would like to ask the author and everyone, what is the best way to modify the theme? #150

Answered by gregsullivan
aboutjquery asked this question in Q&A
Discussion options

You must be logged in to vote

Hello again,

You might find this documentation page useful: Styling HTML from outside the theme

I would say my short answer for you is that you should be adding classes to the HTML in your theme files directly 100% of the time. So if you're styling the header or footer or anything along those lines, the intention of the starter theme is for you to add classes to header.php and header-content.php directly.

If you're trying to style the output from WordPress core, a plugin, JavaScript, etc., you will almost certainly want to use one of the methods described in the page linked above. You'll start to get a sense of when a brief run of context switching, e.g., to style a menu generated by wp_n…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aboutjquery
Comment options

@gregsullivan
Comment options

Answer selected by aboutjquery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants