• 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

Contact Form 7 width issues desktop/ mobile

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 › Contact Form 7 width issues desktop/ mobile

This topic is: not resolved

Tagged: Contact Form 7, Form Styling, media queries, mobile css

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 5 months ago by anotherusername.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 20, 2014 at 8:08 pm #132335
    newedgemarketing
    Member

    Hi I have eleven40pro theme and i'm trying to use contact form 7 on my contact page.

    which works except the form was really wide on my initial contact page on a desktop so i used some css to reduce the width by 50% that worked but then on a mobile the form fields which were now reduced by 50% we tiny.

    I then tried adding some code as seen below so that it would set the width to 100& on a mobile, but that bit doesn't seem to be working.

    Anyone any ideas?

    I've gone through this tutorial https://wordpress.org/support/topic/form-field-width-desktop-and-mobile?replies=2#post-6243400 but can't find anything to help.

    /* Contact From 7
    ------------------------------------------------------------ */
    input[type="text"],
    input[type="email"],
    textarea
    {
    background-color: #fff;
    color: #000;
    width: 50%;
    }


    @media
    only screen and (min-width : 240px) {
    .wpcf7-textarea,
    .wpcf7-text {
    max-width: 100%;
    padding: 10px 1px !important;
    }
    }

    http://newedgemarketing.com.au/contact/
    November 20, 2014 at 10:41 pm #132350
    anotherusername
    Participant

    Well, I am sorry to say that it looks fine to me.

    Guess you must have fixed it.

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

© 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