WordPress.org

Support

Support » Themes and Templates » Twenty Eleven Showcase recent post font

Twenty Eleven Showcase recent post font

Viewing 10 replies - 1 through 10 (of 10 total)
  • Add the following lines on code at the and of style.css. Enter the desired font size instead of __.

    .showcase h1.entry-title a {
        font-size: __px;
    }

    Unfortunately that didn’t have any effect.

    So, I stripped out the h1 factor and it worked!

    Thank you for pointing me in the right direction.

    Dang, unfortunately that changes the title some of the recent post posted on that page too. Ideally I am just trying to change the Listing of other recent posts. Odd that they share the same code.

    The listed titles still seem oddly large even though I sent the size to 16px. What else might be affecting those?

    Also, when I add a color directive to the code, it affects the single post title but not the list. But a font-weight directive does affect the list.

    .showcase .entry-title a {
    font-size: 16px;
    color: #01538d;
    }

    esmi
    Forum Moderator

    @esmi

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    I figured out all aspects except the color code for the entry-title color.

    Here’s the code that worked for the font sizing:

    .showcase .entry-title a {
    font-size: 14px;
    }

    .showcase h1.entry-title a {
    font-size: 24px;
    }

    .showcase h2.entry-title a {
    font-size: 24px;
    }

    However, since the listed recent post titles are links I am having a hard time figuring out the right code to change their color on that page.

    I tried this:

    .showcase .entry-title .edit-link a {
    color: #800000;
    }

    But clearly that doesn’t work. Thoughts?

    I just created a child theme. Do I need to go back and replace the parent theme with the original code? Or will that just sort itself out if/when the theme gets updated?

    esmi
    Forum Moderator

    @esmi

    Do I need to go back and replace the parent theme with the original code?

    Ideally, yes.

    Or will that just sort itself out if/when the theme gets updated?

    It should do but then this may have unpredictable results in your child theme.

    Where do I grab the original style.css?

    Thanks

    esmi
    Forum Moderator

    @esmi

    section.recent-posts .other-recent-posts li {
    color: #YOURCOLOR HERE;
    padding: 0.3125em 0;
    position: relative;
    }

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Twenty Eleven Showcase recent post font’ is closed to new replies.