• Resolved geoswanko

    (@geoswanko)


    I have a form on a page I’ve been trying to get the text white instead of black. I’ve changed the background color of the form and changed several other things, but whatever I do, the words above the form won’t be white. I’d also like to decrease the spacing between the lines. I’ve tried things like padding, margins, line-height, etc…

    In the CSS for the page, I’ve tried using the .wpcf7 and my own class just in case. I’ve reviewed the styling page here (http://contactform7.com/styling-contact-form/) and went through lots of pages on the forum…I just don’t have time to go through all 628 pages.

    Any suggestion on how to get the text white and reduce spacing? Thank you!

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Add a div in the form and style the div with inline styles. So start the form with <div style, width, etc> and end the form with </div>

    There are plenty sites where you can find tips to style a div element. The div will do the trick.

    Good Luck.

    Thread Starter geoswanko

    (@geoswanko)

    Thanks! I used the <p style > to get the text white. The div should help me get that spacing under control. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Styling challenge’ is closed to new replies.