CSS font settings for alle Badges but not for the footer ?

[ad_1]

Hello, the css would look like this:

*:not(.header) {
color: yellow;
}

instead of color: yellow; you can choose the font styling you like.

You can add this css to your theme in order to make it appear on every page

  • This reply was modified 47 minutes ago by Benni.

Thread Starter
kulius

(@kulius)

Hi,

so (*) means select all or ?

.header means footer and header ?

Thx I’ll try it out

Hi,

sorry i meant

*:not(.footer)

yes * means every element and the :not(.footer) means but elements with the class footer

*:not(.footer) {
color: yellow;
}

Thread Starter
kulius

(@kulius)

Hi there,

so I have tried It but it won’t seem to work.

So I would like to change the in the footer to 0rem and keep the rest of the H3 settings I have. And further I would like to change the margin of h3 wich apply to the rest of the widgets of the page. Maybe there a better way to set this up.

Thanks for the kip response.

Hi,

sorry I don’t quite get every change that you want to make.

Please describe it a bit more precise and I will provide you with the css

Thread Starter
kulius

(@kulius)

Hi

so for every text I have a font css name from (h1 – h6)

And my footer I using h3.

the settings in h3 are currently:

h3 {
font-size: clamp(0.625rem, 0.3402rem + 0.8284vw, 5rem);
font-family: lora, sans-serif;
font-weight: 550;
margin: 6rem auto 1rem !important;

}

But I would like that only in the footer the margin is set to 0rem.

And the rest of the widgets still get the common settings from h3.

You have no h3’s in the footer currently, but as you wish the css that would do that:

div.footer-inner h3 {
  margin: 0rem !important;
}

Thread Starter
kulius

(@kulius)

Hi there,

sry i was wrong it was 2 now it works perfectly.

Thx.

have a great day

Hi,

you’re welcome and please mark this topic as resolved 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer