• Resolved graftedin

    (@graftedin)


    STOP overriding our css for ANY style that would probably already be set by the theme. None of this css should be included by default.

    
    .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
        padding: .5em 0;
        margin: 0;
        font-size: 1em;
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter graftedin

    (@graftedin)

    And you’ll say I can override it. Yes….I know that I can. However when you reset margins to 0 I then have to reset it back to what I had it set as in my theme. That means that margin is now set TWICE and has to now be updated TWICE if I ever need to change it.

    Hi,

    Are you using a Child-theme css to edit the css? Normally if yes, it’s must be your css in the child-theme with priority.

    Good luck!

    Or paste this code into the custom css

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why does css override h2 settings for woocommerce-loop-category__title’ is closed to new replies.