• 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

Spacing between buttons for 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 › Design Tips and Tricks › Spacing between buttons for Altitude Pro theme

This topic is: resolved

Tagged: Altitude Pro

  • This topic has 6 replies, 3 voices, and was last updated 9 years, 2 months ago by rocketeer.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 12, 2016 at 11:11 pm #191205
    rocketeer
    Member

    I have several buttons on the front page of an Altitude Pro theme. The default spacing was not looking good, so I added three  

    Light Your Flare   Find Out More

    It looks OK, but not on mobile devices where the buttons are overlapping and/or are not centered or in line under one another.

    How can I control the spacing between these buttons using CSS so they also look good on mobile devices?

    https://flarenote.com
    August 13, 2016 at 5:49 am #191209
    Victor Font
    Moderator

    Mobile CSS is adjusted in the style sheet's media query. All of the media queries should be near the bottom of the style sheet. Use a site like the Studio Pres responsive test site to help guide your progress: http://www.studiopress.com/responsive/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 14, 2016 at 5:04 am #191258
    rocketeer
    Member

    Thanks for the link. The problem is clearly displayed in the 320 px view.

    I have the below code for media query:


    @media
    only screen and (max-width: 480px) {

    .image-section h2,
    .solid-section h2 {
    font-size: 40px;
    }

    }

    What code shall I add to have the buttons not overlapping?

    August 14, 2016 at 5:22 am #191259
    rocketeer
    Member

    I think the problem is that my site doesn't behave like the demo site.

    I removed the non-breaking spaces and now there is no spacing at all. But in the demo site there is a spacing.

    I can't find what's causing this difference. The code is in the text widget in Front Page 1.

    <p>
    <a href="https://flarenote.com/lets-talk/">Light Your Flare</a><a href="#front-page-2">Find Out More</a>
    </p>
    August 14, 2016 at 7:02 am #191267
    Genesis Developer
    Member

    I just checked your home page. You have HTML markup issue. See this

    <p><a href=""><img src="https://flarenote.com/media/facebook-48-48-w.png"</img></a>&nbsp;<a href=""><img src="https://flarenote.com/media/twitter-48-48-w.png"</img></a>&nbsp;<a href=""><img src="https://flarenote.com/media/google-plus-48-48-w.png"</img></a>&nbsp;<a href=""><img src="https://flarenote.com/media/youtube-48-48-w.png"</img>


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    August 14, 2016 at 7:05 am #191268
    Genesis Developer
    Member

    Also you css file have error. At line no 552 have a closing bracket. You will remove it.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    September 11, 2016 at 6:30 am #192972
    rocketeer
    Member

    I've updated the HTML markup and the CSS file and now the spacing works properly. But only on Front Page 1, 3, 5 and 7. On Front Page 2, 4 and 6 the spacing between the buttons is not working properly. What could be the cause of this?

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

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