WordPress.org

Ready to get started?Download WordPress

Forums

Slow learner needs help with bold description (6 posts)

  1. mstess
    Member
    Posted 7 years ago #

    I continue to struggle, but am making slow progress.
    I want to make the description or subtitle of my blog bold.
    Seems like I just need to add a bold weight tag somewhere.
    That is what I can't figure out. I have searched with no luck.

    Thanks for helping a noob.

    t

  2. Michael Bishop

    Posted 7 years ago #

    without a link, I can't say for sure, but you can try adding font-weight: 700; to your h1 tag in your style sheet.

  3. mstess
    Member
    Posted 7 years ago #

    Thanks. What is the difference between using 700 and bold for the font weight?

    site is http://www.travelbloggist.com

    may have put the 700 in the wrong spot, but don't think so and no results.

    thought if i just did a find for the words in the tagline that i would be able to find where to put "bold"

    where does this even show?

  4. Michael Bishop

    Posted 7 years ago #

    I believe .description is for the tag line.

    The difference between 700 and "bold" is that you have more control over how bold the text is, you can do 800 or 900 for more bold, 500, 400 for less, etc.

    I didn't see the font-weight set in your style sheet, so I can't tell if you had it correct or not.

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    miklb is correct, the "thoughts on travel" is in a div with a class of description, so you could add this to your stylesheet (CSS):

    .description {
    font-weight: 700;
    }

    Alternately, you could use font-weight: bold; instead.

    The difference between doing this and actually adding bold tags to the theme is that doing it with CSS keeps the style and content separated, which is the best way to do things. That way, if you change something in your CSS, it takes effect on all your pages at once, keeping the look and feel of your site consistent. For anything involving "how stuff looks", you probably want to be editing the stylesheet.

  6. mstess
    Member
    Posted 7 years ago #

    Excellent. I had been putting under and H2 heading.
    So, it is possible to be bold or bolder. Now, that is nice.

    Thanks so much for your help.
    I am very s l o w l y making progress here and understanding better how CSS works.

    I like that forum concierge label.

Topic Closed

This topic has been closed to new replies.

About this Topic