Remove .even & .odd class styles from style.css
and use CSS psudo classes.
.comment:nth-child(2n) {
your styles for even
}
.comment:nth-child(2n+1) {
your styles for odd
}
Related Posts:
- Add a preview to a WordPress Control Panel
- How to Handle CSS for Multiple Header header.php Files?
- Broken theme, template is missing
- How to create a WP theme that use BootStrap? [closed]
- How customizable is a self-hosted WordPress blog compared to a Blogger blog?
- Is there a Function so that the author of the comment can delete his own comment?
- Twenty Twenty-Four Theme, where to put the personalized CSS style rules?
- Load sidebar template just once to prevent multiple animations
- How to change footer or for different kinds of users in wordpress?
- How do I remove inline style in featured image markup?
- different way to achive stylesheet_url
- How do I use a color from theme options?
- Replace single_template filter with what for default posts?
- Custom image size vs CSS sizing
- Need help with adding templates (archives and sitemap) to WordPress child theme
- Template for landing pages
- Comment status shows ‘closed’ in db, but it shows ‘open’ when i echo it
- Why is my CSS not loading?
- Unique design inside a specific category’s url
- How to rotate every letter in a title
- Ideal inline dynamic CSS injection
- How to seperate static phrases from template files in custom theme?
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- JQuery undefined and Stylesheet loads in bottom along with js files
- How to add menù section to my WordPress template?
- Having issue with WordPress wp_enqueue_style
- Post and page content not displaying in search results
- How do I use wp_nav_menu?
- How can I wrap all blog posts image with
- theme style is applied on the dhasboard rather than the website
- Why still output /wp-content/themes/twentynineteen?
- White screen when attaching css to function.php
- Assign custom classes to the divs inside the loop
- SVG in list-style-image breaks when adding fill
- WordPress theme resource won’t load over VPN
- theme-independent CSS/JS files
- Difference between “comment_form_default_fields” AND “comment_form_fields”
- How to style bootstrap container in wordpress theme?
- How to enable Disqus comments in a WordPress theme I’m creating from scratch? [closed]
- CSS added through customizer neglects the need of a child theme?
- How to override template files in parent theme?
- How to add custom class to get_avatar()
- How to add custom meta box when you have a custom page template file
- Password protect a custom template
- Templates dropdown not appearing using _s theme (underscores)
- Same comments on all posts
- Shortcode call not working in WP Template
- LESS not working in WordPress [closed]
- Place title (in correct place) above image with opaque background [closed]
- Load different single.php templates according to post layout selection
- A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom
- multiple html/css files for wordpress theme?
- CSS preprocessor file messed up after compiled
- Create theme for mobile phones and tablets only?
- Confused by the behaviour of “front page” / “home” templates
- I need to develop a one-page design
- add jquery file if a certain page is included
- Customize Option Framework
- 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
- my single.php is mixup on some post for no reason
- How to use the _S framework
- How to link to the page displayed by home.php?
- WordPress Comment spam issue
- header, stylesheet not being read
- Under theme folder, what’s sequence of action for index.php, page.php, single.php?
- Highlight comments made by registered users of the site
- Tiny MCE custom styles, and preview in the backend
- How to format the first line of a post differently?
- .current_page_ancestor broken in Twenty Eleven
- Is there a template tag I can use to link to the archive page corresponding to the month that a post was published on?
- WordPress comments title
- How do I restructure the comment HTML layout?
- WordPress Animation Adjustments
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- style variations hurt the editing performance
- How to Modify WP_Includes/blocks/latest_posts.php
- How to create a robust and logic class naming system in WordPress theme developing?
- Why nav_menu_css_class doesn’t work with apply_filters?
- How do I change the color of individual page titles in WordPress?
- 3 Level Menu Navigation (3rd Level not displaying)
- Default customizer colors aren’t displayed outside of the preview
- How to implement pagination in category.php template
- Find the source file causing a Mixed Content warning
- How to reduce the vertical space above and below a ul list uniformly with one command?
- Ajax Comment Upvotes – Votes don’t always register
- Is there a way to add classes to a page when using a Gutenberg reusable block as page layout?
- Are paginated comments required for publishing Themes?
- How can I fix my theme header for my CSS stylesheet?
- How to display only the first two elements from ten same elements
- Template for front page (latest posts)
- Using wp_add_inline_style Inside a Template File
- which template should I use for single category post?
- Should I use template files or just use conditional tags in index.php?
- WordPress doesn’t load css, image and js files after moving local installation folder
- How to generate a rtl.css file for themes?
- Different templates for each category level
- Load multiple css simultaneously using functions.php
- Necessary css classes to be included in theme stylesheet