• 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

add a 4 column home widget area in Executive Pro

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 › add a 4 column home widget area in Executive Pro

This topic is: resolved

Tagged: executive pro, featured pages, home widget areas

  • This topic has 6 replies, 3 voices, and was last updated 9 years, 9 months ago by staceychurch.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 24, 2015 at 9:33 am #166565
    staceychurch
    Participant

    Hi I am currently using Exec Pro theme. This has a 3 colum home widget area how can I make this a 4 column. I have reduced the size of the images so I know another one will fit but it drops down and creates a row.
    Ideally I would want 2 rows of 4 featured page images and not 3 rows of 3 boxes.

    Hope that makes sense?

    TIA

    http://77.92.83.148/
    September 24, 2015 at 10:26 am #166570
    Victor Font
    Moderator

    Look in style.css around line 1486 for the following code:

    .home-middle .widget,
    .home-top .widget {
    	float: left;
    	padding: 0 2.8%;
    	width: 33.33333333333%;
    }
    
    .home-middle .widget:nth-of-type(3n+1),
    .home-top .widget:nth-of-type(3n+1) {
    	clear: left;
    }

    Change it to:

    .home-middle .widget,
    .home-top .widget {
    	float: left;
    	padding: 0 2.8%;
    	width: 25%;
    }
    
    .home-middle .widget:nth-of-type(4n+1),
    .home-top .widget:nth-of-type(4n+1) {
    	clear: left;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 28, 2015 at 5:47 am #166831
    staceychurch
    Participant

    Thanks for your help Victor but this does not work.
    Would you mind checking what I'm doing wrong please?

    I am hoping to get 2 rows of 4

    http://77.92.83.148/

    September 28, 2015 at 3:54 pm #166890
    Victor Font
    Moderator

    You missed this:

    .home-middle .widget:nth-of-type(4n+1), .home-top .widget:nth-of-type(4n+1) {
        clear: left;
    }

    It's still says (3n+1).


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 29, 2015 at 2:13 am #166915
    staceychurch
    Participant

    It is there;
    .home-middle .widget,
    .home-top .widget {
    float: left;
    width: 25%;
    padding:0;
    margin:0;
    }
    .home-middle .widget:nth-of-type(4n+1),
    .home-top .widget:nth-of-type(4n+1) {
    float: left;
    }

    I have been tinkering with the code so you may have viewed it whilst I was adjusting.

    I am still getting lots of rows with 3 across. I cannot seem to get 4 across. I have adjusted the width of the images, tried using thumbnails as well as featured images-still no luck.

    Any advice please?

    September 29, 2015 at 10:29 pm #167017
    Genesis Developer
    Member

    Replace

    .home-middle .widget:nth-of-type(3n+1), .home-top .widget:nth-of-type(3n+1) {
        clear: left;
    }
    

    with

    .home-middle .widget:nth-of-type(4n+1), .home-top .widget:nth-of-type(4n+1) {
        clear: left;
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 30, 2015 at 8:37 am #167046
    staceychurch
    Participant

    Thank you.

    I see my mistake now. I was adding the css to the bottom of stylesheet instead of replacing the existing code.

    Resolved.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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