Featured Post Formatting

Community Forums Forums Design Tips and Tricks Featured Post Formatting

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Murray 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8891

    colinhaime
    Participant
    Post count: 2

    Still working on the Enterprise Theme.

    In my Middle widgets I am trying to put a list of Featured Posts for specific categories. I just want to list titles but for some reason I am getting extra space between each title. I want a list like it has in Recent Posts on the right where the post titles have little space between them. Any idea how to remove the space on the Featured Post widgets?

    website http://www.barberhaime.com

    Colin

     

    #8897

    Bill Murray
    Participant
    Post count: 575

    Try adding this to your child theme’s style sheet:

    [css]#featured-post-5 h2 { margin: 0; padding 0; }[/css]

    That will target the left most featured posts widget, and if you change widgets so the ID’s change, the styling might need to change. That’s the most specific approach. You could also use:

    [css].featuredpost h2 { margin: 0; padding 0; }[/css]

    if you want to target all of your featured post widgets with the same styling.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.