• 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

Altitude Pro Add button to bottom of front page 3 widget area

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 › Altitude Pro Add button to bottom of front page 3 widget area

This topic is: resolved

Tagged: altitude, child theme, genesis, layout

  • This topic has 9 replies, 3 voices, and was last updated 10 years, 6 months ago by phacient.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 22, 2016 at 9:21 am #177180
    socialspark
    Member

    I know that Altitude Pro is formatted very specifically for different layouts depending on the number of widgets. I have 7 text widgets in the front page 3 widget area - one for the heading, and then 6 for services the company offers. They display very nicely as a heading over 2 rows of 3 services. The problem is, I'd like to put a "Learn More" button centered below these 6 services, but if I add another text widget for the button, then it changes to 3 rows of 2 for the services, which I don't want. Is there any way to add a single, centered item below these without changing them, or is that just the way it is? I'd like to do something similar in the front page 2 section as well.

    Thanks in advance.

    http://c8d.aee.myftpupload.com/
    January 24, 2016 at 7:48 pm #177402
    Christoph
    Member

    Hi,

    if you are not using an even number of widgets in any of the other widget areas,
    you can simply change the logic in functions.php (around line 172) into

    elseif( $count % 2 == 0 ) {
    		$class .= ' widget-thirds';

    and in the style.css add width: 100%; to last text widget.
    e.g.

    #text-## {
    width: 100%;
    }

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

    January 26, 2016 at 10:58 am #177571
    socialspark
    Member

    Thank you, Christoph, that worked perfectly!

    February 5, 2016 at 7:42 pm #178409
    phacient
    Member

    What if you only wanted to change it for one or two widgets and not for the entire home page. Is that possible?

    February 5, 2016 at 9:11 pm #178418
    Christoph
    Member

    Hi,

    I´m not exactly sure what you want to achieve, but you could change the classes added to the widgets in front-page.php.
    If you want to exclude widgets areas from the logic, you could try to remove e.g.
    ' . altitude_widget_area_class( 'front-page-2' ) . '

    from

    'before' => '<div id="front-2" class="front-page-2"><div class="solid-section"><div class="flexible-widgets widget-area' . altitude_widget_area_class( 'front-page-2' ) . '"><div class="wrap">',


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

    February 5, 2016 at 9:36 pm #178424
    phacient
    Member

    I'm basically trying to just have the ability to add the text widgets as I want and then put a centered widget/button at the bottom to 'learn more' or 'compare packages'. Right now, it's adding that widget to the end of the line as if it were another package/benefit/feature.

    February 6, 2016 at 12:08 am #178442
    Christoph
    Member

    You probably could change the css or add css just for that one widget.
    But you might have to change/remove the widget logic.
    Do you have an URL that you can share?


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

    February 6, 2016 at 12:50 pm #178476
    phacient
    Member

    The site is under construction under behind a maintenance window. I could send you a login privately if you like.

    February 6, 2016 at 2:43 pm #178480
    Christoph
    Member

    Sure, send it over.


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

    February 7, 2016 at 11:31 am #178515
    phacient
    Member
    This reply has been marked as private.
  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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

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