WordPress.org

Forums

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

  1. grombleton
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.