WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Styling Submit Button for Different Skins (2 posts)

  1. Graham Phillips
    Member
    Posted 5 months ago #

    I've got one form that i am utilising multiple times on a site. The submit button changes colour depending on which page they are on (to match the branding) - is there a way to style this on a style-by-style basis?

    I've styled 'input[type="button"]' but that only works on a global basis, i'm not sure how to edit it so it works on a page-by-page basis.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 5 months ago #

    If your theme uses body_class(), the <body> tag should have several keywords in its class attribute. Try utilizing it.

    http://codex.wordpress.org/Function_Reference/body_class#Page

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.