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 2 years, 10 months ago.

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


    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




    Bill Murray

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

    #featured-post-5 h2 { margin: 0; padding 0; }

    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:

    .featuredpost h2 { margin: 0; padding 0; }

    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.