• 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

How can i place the wrapper of the landing page in the center?

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 › How can i place the wrapper of the landing page in the center?

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 11 years, 6 months ago by jimmyc.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 13, 2015 at 12:44 am #144264
    jimmyc
    Member

    Hi,

    I've decreased the size of the wrapper on my landing page but now it's aligned left: http://www.succesindeliefde.nl/over-mij

    How can i make it look centered?

    Cheers,
    Jim

    March 13, 2015 at 2:32 am #144268
    Pixel Frau
    Member

    Hi Jim. It looks like you've changed this:

    .full-width-content .content {
        border: none;
        padding: 40px 0 0;
        width: 100%;
    }

    to this:

    .full-width-content #content {
    	border: none;
    	padding: 25px 0;
    	width: 620px;
    }

    I'd suggest changing that back to the original, and adding this to your CSS instead:

    .page-template-page_landing .wrap {
    	max-width: 620px;
    }
    March 13, 2015 at 4:44 am #144280
    jimmyc
    Member

    Hi Julia,

    Thank you for responding to me.

    I've never changed a percentage to a number.

    These are the codes that are in my CSS now.

    .content-sidebar #content-sidebar-wrap,
    .full-width-content #content-sidebar-wrap,
    .sidebar-content #content-sidebar-wrap {
    width: 100%;
    }

    .full-width-content #content {
    width: 100%;
    }

    .full-width-content #content {
    border: none;
    padding: 25px 0;
    width: 620px;
    }

    Those are the only 3 pieces of code with: .full-width-content #content {

    Cheers,
    Jim

    March 13, 2015 at 6:03 am #144286
    Pixel Frau
    Member

    Ah, I see. You're using an older version of Eleven40. Assuming you want the content area to be 620px wide, you can add the following to your CSS:

    .custom-landing .wrap {
    max-width: 620px;
    }
    March 13, 2015 at 6:17 am #144289
    jimmyc
    Member

    Hi,

    But the content wrapper already has a width of 620 now.

    The only problem is i can't get it to centered.

    So if i need to add the code you just gave me into the css, i assume i also need to remove codes i've added? One of those 3?

    Cheers,
    Jim

    March 13, 2015 at 6:19 am #144290
    Pixel Frau
    Member

    If you want it centered you need to add the code above.

    March 13, 2015 at 6:21 am #144291
    jimmyc
    Member

    Hi,

    Fantastic.

    Thank you for your support. GREAT.

  • 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

© 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