• 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

homepage buttons on same line

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 › homepage buttons on same line

This topic is: not resolved

Tagged: Author Pro, buttons

  • This topic has 4 replies, 2 voices, and was last updated 5 years, 5 months ago by zenninja22.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 22, 2017 at 1:40 pm #210642
    zenninja22
    Member

    Hi everyone, I am using Author Pro child theme with Genesis.
    I would like to know how to have all the buttons in section 2 of the homepage to be on the same line as each other? At the moment some are higher than others due to some book titles and names being longer than others.
    thank you 🙂

    https://www.davidwallerwriter.com/
    August 23, 2017 at 6:39 am #210670
    Victor Font
    Moderator

    The reason the buttons appear out of alignment is because the .entry-header areas are variable heights because of the word wrapping. The fix is to make all the entry headers the same height regardless of the length of the verbiage. Adding the following to style.css should get you close to what you want. You may have to adjust the value to achieve what you like. Also remember to add this the same media query that changes the featured books to stack one above the other. You can set the min-height to 0 when that change takes place.

    .entry-header {
        min-height: 120px;
    }

    Regards,

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

    August 23, 2017 at 6:46 am #210671
    zenninja22
    Member

    Hi Victor, thank you for replying.
    When I add that code though, it impacts in other areas. e.g. there is an events post in the footer and there ends up being the space between the header and the body of that.
    Was there maybe a more specific code that would just hit the books?

    August 23, 2017 at 6:55 am #210673
    Victor Font
    Moderator

    You can further qualify it as .featuredbook .entry-header.


    Regards,

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

    August 23, 2017 at 7:35 am #210675
    zenninja22
    Member

    Thanks so much. That works 🙂

  • 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