Home Forums Basel support forum Basel: How to alter H2 style for all content?

Basel: How to alter H2 style for all content?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262621

    oleg_dmitriev
    Participant

    Hi Artem and Elise,

    I do enjoy working with your theme, it’s beautiful – thank you 🙂 Can you please give me a custom CSS to overwrite the default style of h2 tags on both Posts and Pages? In particular I want to alter the “color” parameter (from black to maroon), but I may want to change others.

    Thanks!
    Oleg

    #262643

    Hello,

    You would better use the Subtitle element https://prnt.sc/xvh4p7 and you will be able to set the color and size.

    Alternatively, you can use WP bakery page heading tile allowing to set the Font-Family, color, and size.

    I can give you CSS however it would be excessive. If you still want CSS, please provide your page URL and post URL.

    Best Regards

    #262965

    oleg_dmitriev
    Participant

    Hi Elise,

    Thanks for your reply. I don’t need to customise each H2 tag I write with web-interface (like Subtitle or WP Bakery). I need to customise default H2 dressing for all H2 tags in style.css.

    Please send me instructions how to re-write H2 in the style.css for Basel. Thanks for yuor help!
    Post and page links are in the Private section.

    #263056

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .wpb_wrapper h2 {
        color: red;
    }

    Please change the color as per your needs.

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)