Individual H1 headlines Change font color

Hello BeTheme team,

I would like to change the text color of my headlines in some individua places. Is there a CSS command for this?

At the moment I just misused the h5 and h6 headlines and formatted them in a different color. However, this is not good for SEO optimization....

Thank you for your answer.

Many greetings

Comments

  • Hi,
    you can use the custom css only for a page in the page options. Edit the page and scroll down to the page options, there you will find a custom CSS field.

    You can use css like, h1 {color:red !important;}
    thanks
  • Hi,
    which means that I cannot define a different color for a single heading element on a page, but only globally for all h1?
    Thanks
  • You can ofcourse add a class="custom-h1" to any element and define the colors with a class.
    Obviously this will only work for the H1 elements that are inserted manually.
    You can also define it inline like: <h1 style="color:red;">content</h1>
  • Thanks, it works! :-)
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.