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.
Thanks for help.
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:
/*** WordPress basic styles ***/
padding: 0 0 10px 10px;
padding: 0 10px 10px 0;
margin: 0 auto 10px auto;
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.
Thanks a lot for guidance. Are there any tutorials that can guide me on working with the wordpress theme.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.