PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Targeting Submit Button Text

  1. For the life of me I can't figure out why the text in my button isn't obeying my every command!!! Haha!

    body #gform_wrapper_9 .gform_footer input[type=submit] {
    	color: #ffffff;
    	font-family: Tahoma;
    	font-size: 20px;
    	font-style: normal;
    	font-weight: bold;
    	text-transform: capitalize;
    	text-align: center;
    	padding-top: 15px;
    	padding-right: 0px;
    	padding-bottom: 5px;
    	padding-left: 0px;
    	line-height: 1.0em;
    }

    Shouldn't that target the submit button text? Or am I missing something?

    Thanks.

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  2. Sounds like that should work ok, do you have a link to the form in question?

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  3. Yep! Sorry, should have included that.

    http://www.boiserealestateguy.com/short-sales/

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  4. Seth, just curious, is there any reason you don't just stick with the declaration at the top and add your style changes there? Also, if you find that certain elements aren't showing, try using !important, ie - color: #fff !important;

    http://grab.by/cc6W

    You can also you Chrome Dev tools or Firebug for Firefox to help show what is coming in via what stylesheet.

    http://grab.by/cc76

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  5. OK, I'll !important everything and see if that helps.

    Are you familiar with Premise from CopyBlogger? Its cool, but its styling system is a hot mess. They do have a few built in Gravity form classes that aren't easily changeable. So... that's pretty much the story there.

    Thanks!

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  6. Yep, worked.

    I need to always remember to force my will with !important. I hate using it, but in WordPress you almost have to with all these different plugins and themes trying to play with one another.

    Thanks.

    Posted 12 years ago on Friday March 2, 2012 | Permalink
  7. Yeah, it is a necessary evil sometimes for everything to play nice, especially when it's coming from a bunch of different ends. Glad you got it working, thanks for letting us know!

    Posted 12 years ago on Friday March 2, 2012 | Permalink

This topic has been resolved and has been closed to new replies.