WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] change color of green box upon send (9 posts)

  1. barcelonadiferente
    Member
    Posted 1 year ago #

    When a customer sends, the confirmation is surrounded by a green box. i would like to change the color. thanks

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Add this to your theme's stylesheet:

    div.wpcf7-mail-sent-ok {
    	border: 2px solid #00ff00;
    }
  3. barcelonadiferente
    Member
    Posted 1 year ago #

    Thanks Takayuki - the problem is i cant find the theme´s stylesheet. im sure its right under my nose but when i chose the theme, all i see are .php files?

  4. barcelonadiferente
    Member
    Posted 1 year ago #

    does anyone know where the theme´s stylesheet is located? I can´t find it... Thanks

  5. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    I don't get what you mean. Every WordPress theme must have at least a style.css file.

  6. barcelonadiferente
    Member
    Posted 1 year ago #

    I added it to the end of the style.css file and changed #00ff00 to the color i wanted but nothing happens. Does it need to be added to a specific part of the style.css file? thanks so much for your help!

  7. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Tell me the URL of the site, please?

  8. barcelonadiferente
    Member
    Posted 1 year ago #

  9. iuttu
    Member
    Posted 1 year ago #

    Styles in the plugin overwrite yours. You have two options:
    1) Add !important to the css rule
    2) Disable completely CF7 styles adding define('WPCF7_LOAD_CSS', false); in your wp-config.php file and style the form yourself.

    // spanish //
    Lo haces bien. Lo que ocurre es que los estilos del plugin machacan los tuyos. Tienes dos opciones:
    1) Añadir un !important a la regla
    2) Deshabilitar por completo los estilos de CF7 añadiendo define('WPCF7_LOAD_CSS', false); a tu fichero wp-config.php (en la raíz de la instalación)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.