• Resolved Garry Rigby

    (@indigojones66)


    This works; I added a unique class (latest-class) in advanced settings so it only target that block heading

    latest-class, h2.has-background {
    padding: 0.7em 2.375em;
    }

    No period at beginning ~ I don’t know why?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @indigojones66,

    If you select an HTML element, the CSS selector is without a dot, but if you need to select a class, you will have to use the dot prefix.

    Having said that, I assume it’s applying the rule to h2.has-background in fact if you remove latest-class, it should make no difference.

    Since this forum is more focused on the core WooCommerce plugin features, I will now go ahead and close the thread. If you have any questions on CSS I can recommend W3Schools forums here: https://w3schools.invisionzone.com/forum/6-css/.

    Thanks.

    • This reply was modified 3 years, 6 months ago by Mirko P..
Viewing 1 replies (of 1 total)
  • The topic ‘Padding on heading blocks’ is closed to new replies.