• 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

Align top of text and buttons in column classes

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 › Align top of text and buttons in column classes

This topic is: not resolved

Tagged: column columns column classes button buttons text

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by Amy Kvistad.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 8, 2014 at 8:12 pm #123503
    Amy Kvistad
    Member

    I have 3 columns set up using column classes. The first column has a text description, and the next two columns have a button to click. The buttons are bottom aligned and the text is top aligned.

    How can I get the buttons to line up at the top of the column like the text is?

    http://companytheatre.wpengine.com/white-christmas/
    September 8, 2014 at 9:30 pm #123507
    jbergen
    Member

    Hi,

    You've done a nice job on the site. I think the reason the buttons are so far down is due to the line breaks in their HTML markup (shown below):

    <div class="one-fourth">
    
        <form target="_blank" method="post" action="https://www.paypal.com/cgi-bin/webscr">
            <input type="hidden" value="_s-xclick" name="cmd"></input>
            <br></br>
            <input type="hidden" value="TZUKLXL8ZM93U" name="hosted_button_id"></input>
            <br></br>
            <input class="button" type="submit" title="PayPal - The safer, easier way to pay online!" name="submit" value="Hold Tickets"></input>
            <br></br>
        </form>
    
    </div>

    When I removed the line breaks, I was able to get this:

    removed line breaks

    If you want to push down your text so all the text is along the same line, you can add this to style.css:

    .entry-content .one-half {
        margin-top: 13px;
    }

    And you'll get this:

    text aligned

    I hope that helps!
    Jamie


    Jamie @ Ladebug Studios

    September 9, 2014 at 5:51 am #123547
    Amy Kvistad
    Member

    Thanks! That works. I didn't realize all those line breaks were there.

  • 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

© 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