Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #234195

    Hi

    Just followed your advice and installed Contact Form 7 so we can allow documents to be attached. I added a background colour and text colour using:

    .wpcf7
    {
    background-color: #f15f45;
    border: 2px solid #000000;
    color: #fff;
    }

    This works – however there is no margin to the left (ie the input boxes sit hard left with no background to the left of them and try as I might I cannot fix this. I wanted to add the necessary code to the Custom CSS as I’ve read that you should not change the plugin code because of updates.

    dontphoneyourown.co.uk/compensation-calculator/

    Any ideas?

    Thanks

    Mark

    #234215

    Hey Mark!

    Try adding this code to the Quick CSS:

    .wpcf7 {
        padding: 0 20px !important;
    }
    

    Cheers! 
    Josue

    #234219
    This reply has been marked as private.
    #234226

    Hey!

    !important rule forces css code to overwrite existing one

    Cheers!
    Yigit

    #234234

    Thanks Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Contact Form’ is closed to new replies.