• 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

Form Style

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 › Form Style

This topic is: resolved
  • This topic has 8 replies, 2 voices, and was last updated 6 years, 5 months ago by JiveDig.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 4, 2020 at 1:28 pm #496435
    pdavidsonphoto
    Participant

    I added a MailChimp sign-up form to my home page. I've tried adding the MailChimp styles and also removing them to take on the theme styles but each time the button falls below the form. I'd like it placed to the right of the submit field. Would appreciate some help on accomplishing it. I'm using the Mai Lifestyle Pro Child Theme. Here's my website page: https://patriciadavidsonphotography.com The form is right below the top banner. Thanks.

    https://patriciadavidsonphotography.com/
    February 4, 2020 at 3:19 pm #496436
    JiveDig
    Participant

    Hi there. The site is looking great!

    You can add this to Customizer > Additional CSS to get it all on one line.

    
    #mc_embed_signup_scroll {
    	display: -webkit-box;
    	display: flex;
    	-webkit-box-pack: center;
    	justify-content: center;
    }
    

    Lead developer of Mai Theme

    February 4, 2020 at 4:37 pm #496439
    pdavidsonphoto
    Participant

    Thank you, that works! Curious though, the input field is smaller. I liked the larger version.

    February 5, 2020 at 11:53 am #496465
    JiveDig
    Participant

    You can do something like this:

    
    #mc_embed_signup_scroll > p:first-child {
    	-webkit-box-flex: 1;
    	flex: 1 1 auto;
    	max-width: 320px;
    	margin-right: -1px;
    }
    

    Lead developer of Mai Theme

    February 5, 2020 at 1:39 pm #496472
    pdavidsonphoto
    Participant

    Thank you!

    February 5, 2020 at 2:11 pm #496474
    pdavidsonphoto
    Participant

    Unfortunately, this code messes up another full form I on another page here:
    https://patriciadavidsonphotography.com/subscribe/ Anyway to only target this little form on the home page?

    February 5, 2020 at 2:29 pm #496475
    JiveDig
    Participant

    Of course. Just add .home before it all.

    
    .home #mc_embed_signup_scroll {
    	display: -webkit-box;
    	display: flex;
    	-webkit-box-pack: center;
    	justify-content: center;
    }
    
    .home #mc_embed_signup_scroll > p:first-child {
    	-webkit-box-flex: 1;
    	flex: 1 1 auto;
    	max-width: 320px;
    	margin-right: -1px;
    }
    

    You could even add a custom class just to that Section via the Advanced Settings of the section, and use that instead of "home" so it only targets that section.


    Lead developer of Mai Theme

    February 5, 2020 at 3:31 pm #496483
    pdavidsonphoto
    Participant

    Perfect, thank you!

    February 5, 2020 at 3:46 pm #496485
    JiveDig
    Participant

    🍻🎉


    Lead developer of Mai Theme

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Form Style’ 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

© 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