• 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

Have 3 post horizontally aligned

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 › Have 3 post horizontally aligned

This topic is: resolved

Tagged: home middle, Magazine Pro

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 10 months ago by mcamposs.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 20, 2018 at 8:54 pm #220111
    mcamposs
    Member

    Hello,

    I have the Theme Magazine Pro, I have adjusted it to full width. I want instead of two horizontal post, to have 3 post horizontally aligned, but I have not achieved it.

    My Changes:
    .site-inner, .wrap {
    margin: 0 auto;
    max-width: 95% !important;
    }
    .content {
    float: right;
    width: 900px !important;
    }
    .home-middle .featured-content .entry {
    width: 30% !important;
    }

    The problem is that the third post is in another row. The 3 post are not aligned horizontally.

    Can you helpme please?

    Thank you very much.

    https://elchatel.com/demoswp/magazine-pro
    May 21, 2018 at 8:40 am #220116
    Brad Dalton
    Participant

    When you copy the CSS rule to the end of your style sheet, you don't need to use !important.

    I think you'll find the problem is with the width and float clearing

    .home-middle .featured-content .entry {
    	width: 360px;
    }
    

    Tutorials for StudioPress Themes.

    May 21, 2018 at 1:11 pm #220132
    mcamposs
    Member

    Dear braddalto,
    Thank you very much!.
    The divs have been aligned horizontally.

    I put the complete code, for those who have the same problem.

    .site-inner,
    .wrap {
    margin: 0 auto;
    max-width: 95%;
    }
    .content {
    float: right;
    width: 920px;
    }
    .sidebar-primary {
    float: right;
    width: 320px;
    }
    .home-middle .featured-content .entry {
    width: 30%;
    }
    .home-middle .featured-content .entry:nth-of-type(2n+1) {
    clear: none;
    }

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Have 3 post horizontally aligned’ is closed to new 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