How can i find CSS for my site?
You can do this by creating a custom CSS class.
In the WordPress Dashboard find “Appearance” and click on “Customize”, and then “Additional CSS” option.
Create a custom CSS class. For example, to add font style and color:
.custom-class-name {
font-size: 24px;
color: #0077b5;
}
And Save this.
Now, to apply this to your pages.
You will have to open each page, find the H2 tags, and put this class in each of them. For example:
<h2 class="custom-class-name">YOUR HEADING TEXT</h2>
Your body tag has a class page so you can include this as a selector to target only pages.
.page h2 {
font-size: 24px;
color: #0077b5;
}
No need for custom classes, though that would work as well, but it’s a lot more work to add the custom classes.
@nushaa32 — In these forums, please do not tag on to other people’s topics with your own question, no matter how much you think it’s related. You should always start your own topic. I know it’s common in other forums to use existing topics, but using other’s topics in this community is seen as a type of topic hijacking and is considered rather rude. I’m sure that was not your intention and you simply didn’t know. Now you know 🙂 But since you’re already here, use your browser’s element inspector tool to show you where CSS code is coming from. Location is variable from site to site.