• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Modern Portfolio Alignment & Category Archive Link

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Modern Portfolio Alignment & Category Archive Link

This topic is: resolved

Tagged: category link, modern portfolio

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 10 months ago by ljkeller.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 7, 2013 at 1:54 pm #61247
    ljkeller
    Member

    I'm using the Genesis Featured Port widget for my Portfolio. I have it set to display 9 posts, and to show the category archive link on the bottom.

    Currently, the 9 images will not align properly. If I set it to six, they are fine. But as soon as I go to 7 or higher, they are messed up.

    Also, the link to view more from my portfolio shows up between the 2nd and 3rd post rather than on the bottom.

    http://www.lizakeller.com

    A little help would be much appreciated!

    September 7, 2013 at 3:31 pm #61256
    Robin
    Member

    The posts themselves are fine, but the widget is built assuming that all the images, headlines, and content limits will be exactly the same height and number of lines, and when they're not, funky things will happen with the layout.

    So, your sixth post's headline stretches to two lines, which makes it taller than #4 and #5, which messes up the third line altogether. But your seventh post also causes an issue because the image is shorter than the rest.

    You can alleviate it by a bit of a hack if you add something like this to your CSS:

    .featuredpost .category-portfolio {
    height: 300px;
    }

    This would force all of the posts to be the same height no matter what their content is. I don't know if 300 is the magic number (in Chrome's inspector, it's working for me) and not sure how it will affect the responsiveness, but it's one way to tackle it. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    September 7, 2013 at 4:07 pm #61269
    ljkeller
    Member

    Thank you so much! That solved the issue of the alignment.

    Any idea how to force the category link below the featured posts?

    September 8, 2013 at 10:29 am #61352
    Robin
    Member

    It's probably part of the same issue, but you can make sure it will always go below by adding a clear property to the selector:

    .more-from-category {
        clear: both;
    }

    I do the best I can with what I’ve got. (say hey on twitter)

    September 8, 2013 at 11:56 am #61369
    ljkeller
    Member

    Perfect! Thank you so much!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble