WordPress.org

Ready to get started?Download WordPress

Forums

How to change widget font type and size in twentyeleven child theme (4 posts)

  1. MissMarissa
    Member
    Posted 1 year ago #

    I'm trying to change the font type and size in the widget area of my website, hospitalitycopywriter.com. I'm working in a child theme of twentyeleven. I'd like to make the font larger, bolder, more similar to post titles. I appreciate any help anyone can offer. Thanks!

  2. Mohamad Hanafi
    Member
    Posted 1 year ago #

    Hi, MissMarissa.

    Try this.

    .widget-title {
    color: black;
    font-size: 16px;
    font-weight: bold;
    text-transform: none;
    }

  3. MissMarissa
    Member
    Posted 1 year ago #

    Thank you! That's just the code I was looking for. Much appreciated.

  4. Mohamad Hanafi
    Member
    Posted 1 year ago #

    To make line spacing closer,

    add

    line-height: 1.6em;
    ----------------
    by default: line-height:2.6em;

    Thanks,

    Hanafi.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.