Cannot Style a WP Forms Button

Please see  web page truenasreseller.com/truenas/. Using wordpress with a Divi theme and WPForms Basic license.

The form on the right has a next button that I have been trying to style. I have tried adding this to the general theme's CSS:

div.wpforms-container-full .wpforms-form button .wpforms-page-next {
background: #2193d1;
border-width: 0px!important;
font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
color: #fff!important;
}

I also have this already in the CSS, and it's working on the submit button:
/*** change color of wp-forms button***/
div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: #00aeef; /* Blue background */
    border: 1px solid #04a3df; /* Dark blue border */
    color: #fff; /* Text color */
    font-size: 1em; /* Size of text */
    padding: 10px 15px; /* Distance between text and border */
}

Within WP Forms, when I click on that button, it's got an option to add CSS classes. I tried adding et_pb_button  et_pb_button_2 et_pb_module et_pb_bg_layout_dark, which is the class of the other blue buttons on the page.  Also not working.

Can you help? Thanks!
mel200Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris StanyonWebDevCommented:
You have an extraa space in your your rule. Your button has a class of wpforms-page-next, so you need:

div.wpforms-container-full .wpforms-form button.wpforms-page-next

Open in new window


Notice the remove of the space between button and .wpforms-page-next
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgranlundCommented:
It is here:
div.wpforms-container-full .wpforms-form .wpforms-pagebreak-left .wpforms-page-button
It is in the forms CSS
Place it in your style.css and you may need to use !important on your definitions
0
mel200Author Commented:
Thanks so much!! Extra space, I might have never seen that. Very much appreciated!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.