• 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

Education – Call to Action Subscriber Box

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 › Education – Call to Action Subscriber Box

This topic is: resolved

Tagged: buttons, education, enews

  • This topic has 6 replies, 3 voices, and was last updated 8 years, 8 months ago by Tonya.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 2, 2014 at 11:49 am #112665
    suecline
    Member

    Hi - I'm setting up a new site using Education and I'm having trouble with the subscriber box in the call to action widget.

    http://209.59.178.236/~gses14/

    I'm trying to get the box and button aligned to the right in the same position of the text. I'm close, now, but the Subscribe button is on the wrong darn side.

    Can anyone help me with the right CSS for this?

    Many thanks!

    Sue

    http://209.59.178.236/~gses14/
    July 2, 2014 at 12:12 pm #112669
    Tonya
    Member

    Hi Sue,

    Right now the individual elements within the Subscribe form are set to float: right; What you want to do instead is set the entire form to float: right; as such:

    On line 171

    #home-featured .call-to-action .enews form{
    	display: inline;
    	float: right; /* I added this */
    }

    Then remove the float: right; on lines 709 & 719.

    To pull the subscribe button closer, get rid of the margin-right on line 717.

    Cheers ๐Ÿ™‚


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

    July 2, 2014 at 12:12 pm #112670
    Genesis Developer
    Member

    This would be helpful for you ๐Ÿ™‚

    #home-featured .call-to-action .widget {
        padding: 45px 50px;
    }
    #home-featured .call-to-action .enews, #home-featured .call-to-action .enews p {
        display: table;
        line-height: 130px;
        margin: 0 auto;
        vertical-align: middle;
        width: 100%;
    }
    #home-featured .call-to-action .widgettitle {
        color: #ffffff;
        display: table-cell;
        font-family: 'Vollkorn',serif;
        font-size: 30px;
        font-style: italic;
        margin-bottom: -40px;
        padding: 0;
        text-align: center;
        vertical-align: middle;
    }
    #home-featured .call-to-action .enews form {
        display: table-cell;
        margin: 24px 0 0 30px;
    }
    #home-featured .call-to-action .enews #subbox {
        border-color: #c24d1b #fff #fff #c24d1b;
        border-left: 1px solid #c24d1b;
        border-style: solid;
        border-width: 1px;
        float: left;
        margin-right: 10px;
        width: 336px;
    }
    
    #home-featured .call-to-action .enews #subbutton {
        margin: 0;
        padding: 10px 16px 8px !important;
        width: 100px;
    }

    Best of Luck


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    July 2, 2014 at 12:25 pm #112675
    suecline
    Member

    @ Tonya thank you! That at least got the form unscrambled. It's on different lines (or so it appears), though, so any other ideas?

    @ genwrock thank you! I am not really sure what to do with that (my css foo is weak) - will any part of that align this mess?

    Thanks to both of you for the assist!

    Sue

    July 2, 2014 at 12:33 pm #112679
    Tonya
    Member

    It's due to the widget title. Add the following 2 lines just after line 661:

    #home-featured .call-to-action .widgettitle {
    line-height: 65.5px; /* this one vertically centers the title */
    float: left;

    /* this one floats it & now it's not full-width pushing the form down */

    Cheers ๐Ÿ™‚


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

    July 2, 2014 at 12:42 pm #112681
    suecline
    Member

    @ Tonya thank you, that worked like a charm!

    Sue

    July 2, 2014 at 12:51 pm #112685
    Tonya
    Member

    You're welcome ๐Ÿ™‚


    Software & Electrical Engineer and Programming Teacher ยท I’m on a mission to help developers be more awesome.
    Find Me: KnowTheCode.io | @hellofromTonya | Profitable WordPress Developer Bootcamp

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Education – Call to Action Subscriber Box’ is closed to new 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