Bolding a header

JaymesBolton
JaymesBolton

So I am editing the headers to my own text style, size, etc. The issue I am having is that I can't figure out how to bold it within the CSS. I am using the following code:

/*Header Changes H2*/

.campaign-public-layout .main-content h2 { font-family: 'Spirax', cursive; }

.campaign-public-layout .main-content h2 {color:gold;}

.campaign-public-layout .main-content h2 {font-size: 40px;}

.campaign-public-layout .main-content h2 {font-weight: bold;}

Everything else is working except the font weight change. Can anyone tell me what I am doing wrong/?

Comments

  • weasel0
    weasel0
    Posts: 435

    If you throw in an !important tag, will it force the setting? That modifier isn't something you wanna go around using everywhere but if the argument should be working but OP may have something coded more specifically, it's an okay way to override it. That or wait till someone else comes along with a better way to specifically target it.

  • cgregory
    cgregory
    Posts: 780

    Looks like you got the font-weight working since I'm able to see it in your campaigns css.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • JaymesBolton
    JaymesBolton
    Posts: 278

    I have it in my CSS right now but it doesn't seem to be affecting it.

  • cgregory
    cgregory
    Posts: 780

    I'm guessing that you are taking about your SLO campaign?

    Here is what I see.

    image

    Then I remove the bold.

    image

    this is using firefox.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • JaymesBolton
    JaymesBolton
    Posts: 278

    Wierdddd.....it wasn't showing up on my phone or laptop but when I checked it today on my work computer it worked. Maybe need to clear my cache on my laptop. Thanks cgregory!

Sign In or Register to comment.

March 2024
Wrath of the Highborn

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions