• 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

Enterprise Pro – need help formatting responsive primary sidebar

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 › Enterprise Pro – need help formatting responsive primary sidebar

This topic is: resolved

Tagged: center, css, Enterprise Pro, fixed width, primary sidebar, responsive

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 3 months ago by Lauren @ OnceCoupled.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 14, 2014 at 9:22 am #100208
    jhguynn
    Member

    I'm using Executive Pro and I use the primary sidebar to display a 3rd party form. When the primary sidebar kicks below the content responsively, the primary sidebar goes full width and makes the form displayed there look unattractive. I'd like to control the width of the sidebar in this location (say fixed at 400 px) and also keep it in a centered position.

    I've tried all my usual css tricks along the lines of "width: 400px; margin: auto;" and have not been successful.

    Can anyone point me in the right direction?

    Here's a link to the site: http://www.lifepolicydetective.co.uk

    http://www.lifepolicydetective.co.uk
    April 14, 2014 at 2:06 pm #100269
    Lauren @ OnceCoupled
    Member

    Where have you been placing that style?

    In your media queries, under "@media only screen and (max-width: 1023px)" add:

    .execphpwidget .formbox {
         width: 400px;
         margin: 0 auto;
    }

    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    April 14, 2014 at 2:36 pm #100272
    jhguynn
    Member

    Lauren:

    Thanks, that did the trick. Kicking myself once I see how simple and intuitive the solution is.

    Best, Jeff.

    April 14, 2014 at 3:06 pm #100279
    Lauren @ OnceCoupled
    Member

    Just glad it fixed it for you!


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enterprise Pro – need help formatting responsive primary sidebar’ 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