• Hi,

    I’m very new to website building and have very little experience in CSS.

    I’m building a website for my business at the moment

    On my headings, I would like it to have different weight for the fonts.

    So example Our Services, I would like the word Our to be “bold” where as Services to be “light”.

    Any help would be greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • As an example…

    <h1>Our <span>Services<span></h1>

    h1 {
        font-weight: bold;
    }
    h1 span {
        font-weight: normal;
    }

    Of course, there’s a lot more to the font weights, so you can look into what’s available for your theme yourself, but that’s how it’s done.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: Moved to Fixing WordPress, this is not a Developing with WordPress topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing font weight in one line header’ is closed to new replies.