• 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

Genesis Buttons

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 › Genesis Buttons

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 7 years, 5 months ago by Christoph.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 23, 2015 at 11:20 am #168845
    defree99
    Participant

    I'm using the Altiutude theme here:

    http://frisco-locksmith.info/services/

    And I want to make buttons that are aligned like in the attached image.
    Genesis Buttons

    I attempted to use the built-in Genesis CSS buttons, but it doesn't look right.

    Is it possible to make the Genesis buttons look like the attached image?

    October 23, 2015 at 10:20 pm #168889
    Christoph
    Member

    Hi,

    yes, it´s possible.

    Remove all the inline background colors.

    These code snippets should get you closer:
    This positions the left column more to the middle of the page

    .one-half.first a.button {
        margin-left: 140px;
    }

    This adjusts the button:

    button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget .button {
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 2px;
        padding: 15px 25px;
        text-transform: uppercase;
        white-space: normal;
        border: 2px solid rgb(0, 0, 0);
        max-width: 260px;
        color: #22A1C4;
        height: 60px;
        margin-bottom: 5px;
        background-color: none;
        width: 100%;
    }

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

    October 25, 2015 at 5:42 am #168878
    Jonathan
    Member

    Here's one way to setup the button grid like you've shown:

    Add these CSS classes to your stylesheet:

    .button.service {
    background-color: #fff;
    border: 4px solid #0073ba;
    color: #000;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    width: 100%;
    padding: 15px 25px;
    margin: 10px;
    }

    .button:hover.service {
    background-color: #000;
    border: 4px solid #0073ba;
    color: #fff;
    }

    Use column and button classes on the page to setup the grid:

    <div class="one-half first">
    Button 1
    Button 2
    Button 3
    </div>
    <div class="one-half">
    Button 4
    Button 5
    Button 6
    </div>


    Husband, proud father of 3, maker and a car guy
    WordPress Maintenance & Support | Get #WordPress and #GenesisWP help at WPMgmt.co

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