• 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

Changing Margins in Altitude Pro Theme

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 › Changing Margins in Altitude Pro Theme

This topic is: not resolved

Tagged: Altitude Pro, Margin

  • This topic has 12 replies, 3 voices, and was last updated 7 years, 10 months ago by MoodyRiviera.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • July 15, 2015 at 3:18 pm #159506
    gpriver
    Member

    Hi, I'm using the Altitude Pro Theme and I was wondering if someone could point to where in the CSS I could change the margins. At least i believe they are margins. I uploaded a marked up image to demonstrate what I mean. The two marked up sections I would like to be half that in height.

    The top margin is between the top of page and the Top Title Widget. The bottom margin is between the Top Title Widget and 3 widgets below it.

    Thanks!

    Web Page showing where I would like vertical margins to be smaller.

    July 15, 2015 at 3:41 pm #159509
    MoodyRiviera
    Member

    Have you tried using something like Firebug or the "Inspect Element" command in Chrome? These tools could help show you where the extra space is in the CSS file, and then you can make adjustments.

    Of course, if you put up the URL to your site, rather than a screenshot, someone could probably give you precise instructions.

    *MoodyRiviera*

    July 16, 2015 at 12:47 pm #159589
    gpriver
    Member

    Here's the link: http://orlandovideotours.com

    Thanks!

    July 18, 2015 at 10:03 am #159714
    gpriver
    Member

    Bump?

    July 18, 2015 at 6:53 pm #159788
    Christoph
    Member

    Hi,

    add the following code to the style.css.

    To decrease the white space above "The benefits of using video":
    You can change the values to your liking.

    #front-page-2 .flexible-widgets {
        padding-bottom: 60px;
        padding-top: 50px;
    }

    This will decrease the white space underneath that section:

    #front-page-2 #text-3 {
    	margin-bottom: 0px;
    }

    This will decrease the white space above the "circles":

    #front-page-2 #text-4,
    #front-page-2 #text-5,
    #front-page-2 #text-6 {
    	padding-top: 0;
    }

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

    July 20, 2015 at 12:34 pm #159914
    gpriver
    Member

    Thanks so much, Christoph!

    Question for you. Is this code already in the Style Sheet and I just have to change the the values, or should I add it?
    And if I add it, where specifically in the StyleSheet? Secondly, I have a PlugIn installed called Simple Custom CSS, should I just place the code there?

    Thanks!

    July 20, 2015 at 12:47 pm #159916
    Christoph
    Member

    You are welcome.

    The first part is already in the style sheet. You can change it there.
    You have to add the other two.
    It should be fine to add them to the simple custom css plugin.


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

    July 20, 2015 at 12:59 pm #159917
    gpriver
    Member

    Thanks!

    July 21, 2015 at 12:30 pm #160009
    gpriver
    Member

    Would you happen to know how to align the PURCHASE Buttons to the bottom so they all line up no matter how much text is above them? http://www.orlandovideotours.com/#front-page-5

    July 21, 2015 at 1:23 pm #160017
    Christoph
    Member

    A quick and dirty way would be to give the ul the same height after you know how much text will go into the widgets.
    This solution will not scale if you enter more text!

    #text-10 ul, #text-11 ul, #text-12 ul{
    	height: 110px
    }

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

    July 21, 2015 at 2:05 pm #160022
    gpriver
    Member

    Thanks! Check out what I did here: http://www.orlandovideotours.com/#front-page-5

    The code I used is below. Looks fantastic, thanks!

    #front-page-5 #text-10,
    #front-page-5 #text-11,
    #front-page-5 #text-12 {
      	border-style: solid;
            border-width: 1px;
      	padding: 20px;
     	height: 350px;
    }
    
    #text-10 ul, #text-11 ul, #text-12 ul{
    	height: 160px
    }
    July 21, 2015 at 2:09 pm #160024
    Christoph
    Member

    Very nice!
    Good job.

    I´d maybe try a higher font weight to make the text a bit easier to read and make the $399 headline consistent with the other two. 🙂


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

    July 21, 2015 at 2:25 pm #160027
    MoodyRiviera
    Member

    The boxes look good.

    *MoodyRiviera*

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

© 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