Tagged: button color, form builder, submit button
-
AuthorPosts
-
November 18, 2014 at 3:40 pm #352999
Hey there,
i would like to style the submit button on contact forms differently for some of my pages within my enfold project.
They should have other background colors to resonate with the color stylings of individual pages.
Unfortately in the form builder, there is no option to style the submit button.
Is there a way to do this?
November 18, 2014 at 5:40 pm #353104Hey labla!
Thank you for using our theme.
You can style the button with CSS. Put the code in custom.css or Enfold->Styles->QuickCSS field.
Identify the page (each page has a unique class) and the button id.
If you give us a link to a page we can give you the code for that page so you can do it for the other pages.
Best regards,
GünterNovember 18, 2014 at 7:05 pm #353173Hey Günter thanks for your reply,
unfortunately i can’t give you the page since it’s still on our dev servers but maybe you could provide me with the css to use for the following:
Page class info: single single-portfolio postid-104
Button class should remain: button?thank you
November 19, 2014 at 11:17 am #353546Hey!
Try to put the following in Enfold->Styles->QUICK-CSS field or custom.css:
.postid-104 .button { // put your styling code here }Regards,
GünterNovember 19, 2014 at 1:43 pm #353625Thanks Günter it worked.
So to contribute here’s my css:
.postid-104 .button { background-color: #color !important; border-color: #color !important; }Without !important, styles got overwritten by
div .main_color .button and .main_color input[type="submit"]-
This reply was modified 10 years, 11 months ago by
labla.
November 19, 2014 at 2:54 pm #353687 -
This reply was modified 10 years, 11 months ago by
-
AuthorPosts
- The topic ‘Form Button Colors’ is closed to new replies.
