Hi,
I am a newbie developer trying to learn wordpress theme development and I have designed and converted it into HTML/CSS.
My query is I would like to know what additional CSS styles I need to put into the style,css file apart from the one that I have made from my design as I have seen many theme tutorials and found that there any many more classes added pertaining to wordpress.
I would like to know is there any specific guideline that the theme must be having at least these CSS classes in order to work it properly.
There are some classes added by default due to the insertion of media library items such as images, and image captions, etc that should have some css styling applied to them. I usually start with something like this, and then adjust it as needed:
But you can use whatever classes you want in your theme - it will still work. There are no minimum requirements. Just be careful that you don’t use the same class names as the core WordPress or the plugins that you use have.