• 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

Landing page width

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 › Landing page width

This topic is: not resolved

Tagged: landing pages, site width

  • This topic has 4 replies, 3 voices, and was last updated 6 years, 7 months ago by Annamarie.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 11, 2016 at 12:12 pm #191130
    Annamarie
    Participant

    Hi,
    This is probably a no-brainer for someone who lives in the CSS world. I'm struggling with formatting the width of my landing page. I created the landing page template some time ago. For some reason all the various variations I've been trying aren't working.

    This is the code I think I should be using

    .landing-page {
    margin-left:15%;
    margin-right:15%}

    I even added !important and it didn't work. It works in an on page CSS editor both in Chrome and Safari so there's some override happening that I don't understand.

    These are the landing pages I want to change:

    Worksheets To Help Your Home-Mate Search

    Home-Mate Compatibility Assessment About

    Resources

    Are you attracted by the idea of sharing housing but don’t know where to begin?

    Help? Thanks so much.

    https://www.sharinghousing.com
    August 11, 2016 at 3:25 pm #191140
    Angelique
    Member

    When you put the code in for real, did you remember to put the semi-colon after the last 15%? It's missing in the example you posted here.

    August 11, 2016 at 3:28 pm #191142
    Annamarie
    Participant

    I did have the last semi-colon. I just checked again.

    August 11, 2016 at 5:19 pm #191147
    Christoph
    Member

    Hi,

    please try

    .landing-page .site-container {
        margin: 0 15%;
    }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 11, 2016 at 7:55 pm #191149
    Annamarie
    Participant

    I'm sad to say that it didn't work. Now why oh why is that true?

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

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