• 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

Executive: Is there a way to align CTA to Right of Home Top

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 › Executive: Is there a way to align CTA to Right of Home Top

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by Doak Heggeness.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 24, 2013 at 9:57 pm #47617
    dahlkr
    Member

    I am wanting to change the placement of the CTA widget so it aligns to the right of the Home Top Widget instead of below it.

    Can someone tell me how to do this?

    Thanks much!!!

    Site: http://peacewithautism.com

    http://peacewithautism.com
    June 25, 2013 at 6:39 am #47640
    Doak Heggeness
    Member

    Off the top of my head you need to change the 'float' & 'width' of the .home-cta selector just like you did the .home-top selector

    .executive-home .home-cta {
    -moz-box-sizing: border-box;
    background-color: #222;
    box-sizing: border-box;
    color: #ddd;
    float: left; *change to 'right'*
    padding: 60px 70px;
    width: 100% *change to 50%;*
    }


    Doak Heggeness, WordPress Development | Website

    June 25, 2013 at 9:20 am #47658
    dahlkr
    Member

    Wish that worked but it didn't. Any other suggestions?

    June 25, 2013 at 5:13 pm #47730
    Doak Heggeness
    Member

    Sorry, I have dealt into it a little more. The following should put them side by side. The styling will be your discretion.
    You have to separate the .home-top ( from .home-middle ) & make width:50%; & .home-top .widget ( from .home-middle .widget ) and make width:100%;. Then change .home-cta to float:right; & uncomment out the width. This is if you have one widget in .home-top.

    /* Home Page
    ------------------------------------------------------------ */

    .home-middle {
    background-color: #fff;
    clear: both;
    overflow: hidden;
    padding: 60px 40px 0;
    }

    .home-top {
    background-color: #fff;
    float:left; ******added******
    clear: both;
    overflow: hidden;
    padding: 60px 40px 0;
    width: 50%; *****added******
    }

    .home-middle .widget {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    padding: 0 30px;
    width: 33%;
    }

    .home-top .widget {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    padding: 0 30px;
    width: 100%; ******changed*******
    }

    /* Home Widgets
    ------------------------------------------------------------ */

    .executive-home .home-cta {
    -moz-box-sizing: border-box;
    background-color: #222;
    box-sizing: border-box;
    color: #ddd;
    float: right; ********changed*******
    padding: 60px 70px;
    /* width: 100% */ ****uncomment out******
    }


    Doak Heggeness, WordPress Development | Website

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