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

  1. grombleton
    Posted 2 years 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.


  2. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #

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


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


No tags yet.