There are many CSS classes generated by WordPress, depending on context.
The Theme Review Guidelines include the following, WordPress-generated CSS classes:
- Alignment Classes:
- .aligncenter
- .alignleft
- .alignright
- Caption Related Classes:
- .wp-caption
- .wp-caption-text
- .gallery-caption
- Post Classes:
- .sticky
- Comment Classes:
- .bypostauthor
Then, there are the body classes generated by body_class()
.
Then, there are the post classes generated by post_class()
.
Then, there are the comment classes generated by comment_class()
.
Then, there are the menu item classes generated by wp_nav_menu()
.
Related Posts:
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- Do I actually need to link my theme’s style.css in the theme files
- Are the WordPress Core CSS styles really all nessesary?
- Why I can’t add a CSS style in this WordPress theme?
- How to make a theme with more than one CSS file?
- Editing the custom background CSS
- CSS in child theme not overriding the parent theme [closed]
- How to highlight the current page in the nav menu?
- Sub folder CSS that’s read by Admin panel
- Where is definied the theme location for the main menu in a WordPress template?
- Dequeue a style file which is making website load slow!
- Theme Loading Into Dashboard
- How to edit my theme for full width?
- Which html elements should be styled in wordpress theme
- Font Awesome 5 Free – far working but fas is not? [closed]
- WordPress Unite Theme: Footer isn’t sticking [closed]
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- Having issue with WordPress wp_enqueue_style
- How can I wrap all blog posts image with
- theme style is applied on the dhasboard rather than the website
- LESS not working in WordPress [closed]
- A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Some doubts about WordPress handle the horizontal main menu visualization
- Can’t change theme name
- How to use the _S framework
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- Why nav_menu_css_class doesn’t work with apply_filters?
- How can I fix my theme header for my CSS stylesheet?
- How to generate a rtl.css file for themes?
- Why the slideshow is not shown in my theme?
- adding navigation to genesis themes
- Custom link color or stylesheets
- What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]
- CSS not updating in browser when I change it
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Splitting WordPress theme CSS into multiple files, good or bad?
- Theme file for all pages that are a child of a specific page
- Suggestions for creative use of post format feature, or themes that use them well
- Add class to before_widget for all widgets with a dropdown and a counter
- How to show next Post Thumbnail image in WordPress using current post id
- First post of each category
- How to keep theme layout the same when admin gray bar is present?
- Create a theme by combining a parent and a child theme
- Alterntives to BEM syntax that comply with WordPress coding standards? [closed]
- How to add oEmbed support to my theme?
- WordPress default theme css units
- How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?
- If I build a custom theme, will it update?
- Recommended tools for Theme Development with SASS [closed]
- What tags should be used for themes to show the type of layout?
- enqueue_style is not working
- What are non-printable characters doing in my theme?
- How can I let templates choose which stylesheets are enqueued?
- Is it possible to edit the styling of the admin panel from within a custom theme?
- Lightweight framework [closed]
- What are the Entry classes for?
- How to add styles set by user in the customizer
- Following Web Performance Optimization techniques to output static and dynamic css
- Echo all category names, apart from one
- Displaying icon image for WordPress post formats, is there a cleaner way to do this?
- Internal Stylesheet in WordPress Theme development
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Overrite parent functions using child functions
- Does code in function.php differ from theme to theme
- How can I change the theme of different posts using a plugin?
- Theme not showing up
- Change image size depending on page
- Why still output /wp-content/themes/twentynineteen?
- get_header action not working
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- Remove h1 from 2015 theme
- WordPress pulling in random page themes
- How to remove permalinks links presents in each page of my site?
- Is there a way to serve different resolution images to different devices?
- How to make a function occurs for one time?
- How do I restructure the comment HTML layout?
- How to create a robust and logic class naming system in WordPress theme developing?
- Theme: dropdown hover menu not showing up in IE/Edge
- Problem with pagination link (error 404)
- how to ensure responsiveness in wp themes? [closed]
- home is not working in wordpreess
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Local theme changes upload on server but theme changes not showing
- WordPress Custom font not found
- New created Theme leads to malfunctioning Xampp Apache –> functions.php is cause
- WordPress Blog Page displaying nothing
- Magnific Popup – Add Caption to Images
- Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]
- Safe way to echo wp_trim_words
- editor style css and page template with and without sidebar
- How can I demonstrate themes well?
- How to update my own theme?
- WordPress custom jquery not found
- How to highlight current menu bar base on the URL?
- Roll my own theme or customize an existing one [closed]
- Why do some sites show themes/”themename” as the only theme?
- What is the point of using the front-page.php template? [closed]