• 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 pro, Home-Blog widget

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 › Design Tips and Tricks › modern portfolio pro, Home-Blog widget

This topic is: not resolved

Tagged: genesis featured page widget, home-blog widget, Modern Portfolio Pro

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 3 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 14, 2014 at 11:32 am #127789
    nancimurdock
    Member

    Hello,

    The Home-Blog Widget in Modern Portfolio Pro is set up for 3 blog posts/images. I would like to re-code that widget to support two equal size areas, and be able to drop a "genesis featured page" widget into each. I have changed the image size in the functions.php but I can't seem to get the theme to accept the changes.

    Any CSS (and line #) you could provide would be appreciated.

    Thanks!

    Nanci

    http://colleendwyermeloche.com
    October 14, 2014 at 12:36 pm #127803
    Brad Dalton
    Participant

    This looks like the CSS you need to change:

    .mpp-home .content .featuredpage,
    .mpp-home .content .featuredpost .entry,
    #services .alignright {
    	float: left;
    	margin-right: 5.263157894737%; /* 60px / 1140px */
    	width: 29.824561403509%; /* 340px / 1140px */
    }
    
    #services .alignleft {
    	width: 64.912280701754%; /* 740px / 1140px */
    }
    
    .mpp-home .content .featuredpage:nth-of-type(3n+3),
    .mpp-home .content .featuredpost .entry:nth-of-type(3n+3) {
    	margin-right: 0;
    }
    
    .mpp-home .content .featuredpage:nth-of-type(3n+1),
    .mpp-home .content .featuredpost .entry:nth-of-type(3n+1) {
    	clear: left;
    }
    

    Have you tried changing the 3 to 2 and the 29% width to work with 2 widgets rather than 3?

    Otherwise you could use something like the Bootstrap column classes to display widgets inline


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2026 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