{"id":6920,"date":"2017-01-30T01:04:28","date_gmt":"2017-01-30T00:04:28","guid":{"rendered":"https:\/\/wpwebinarsystem.com\/?p=6920"},"modified":"2023-05-31T14:36:38","modified_gmt":"2023-05-31T12:36:38","slug":"tutorial-style-custom-registration-forms","status":"publish","type":"post","link":"https:\/\/webinarpress.alphatesting87.com\/us\/tutorial-style-custom-registration-forms\/","title":{"rendered":"Tutorial: How To Style Your Custom Registration Forms"},"content":{"rendered":"<p>If you are using shortcodes to generate a registration form for your webinar, you would probably notice that there is no styling on the output of the forms. If your theme has default form styling configured, then the<a href=\"https:\/\/docs.webinarpress.com\/article\/78-getting-started-with-registration-widgets\"> registration form<\/a> will adjust to the styling of your own WordPress theme. But if your theme doesn&#8217;t have form styling configured (or you don&#8217;t want to use the default styling of your theme), then you can add your own CSS.<\/p>\n<p>In this tutorial, I am using the &#8216;Twenty Fifteen&#8217; WordPress theme. You can see an example of the output of my shortcode for the registration form:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-6931\" src=\"https:\/\/wpwebinarsystem.com\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013Before.png\" alt=\"\" width=\"744\" height=\"467\" srcset=\"https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013Before.png 744w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013Before-300x188.png 300w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013Before-600x377.png 600w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/p>\n<p>To adjust the style of the output, you can add custom CSS in the stylesheet (style.css file) of your theme, or in any other &#8216;custom css&#8217; field your theme offers on a settings page at the backend of your WordPress website. If you have &#8216;administrator&#8217; access to your website, then you can open the editor, and place the CSS code directly within your (child)theme&#8217;s stylesheet like this:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-6930\" src=\"https:\/\/wpwebinarsystem.com\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet-1024x538.png\" alt=\"\" width=\"1024\" height=\"538\" srcset=\"https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet-1024x538.png 1024w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet-300x158.png 300w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet-768x403.png 768w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet-600x315.png 600w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/custom-css-in-stylesheet.png 1268w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>We have added CSS classes to specific elements of the form. If you want to adjust <strong>the style of the input fields<\/strong>, then add the following class\u00a0to your theme\u2019s <em>style.css<\/em> file. You can adjust this example to your own needs and\/or add different values so it will match your wishes.<\/p>\n<pre class=\"p1\"><span class=\"s1\">\/* WP WebinarSystem - Registration form *\/\r\n<\/span><span class=\"s1\">input.form-control.forminputs.wswebinarsys-registration-name-input {\r\n<\/span><span class=\"s1\">margin-bottom:10px;\r\n<\/span><span class=\"s1\">width:50%;\r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">border-color:#662d90;\r\n<\/span><span class=\"s1\">}<\/span>\r\n\r\n<span class=\"s1\">input.form-control.forminputs.wswebinarsys-registration-email-input {\r\n<\/span><span class=\"s1\">margin-bottom:10px; \r\n<\/span><span class=\"s1\">width:50%;\r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">border-color:#662d90;\r\n<\/span><span class=\"s1\">}<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p class=\"p1\">If your webinar is automated, then there also is a <strong>dropdown for the date and time<\/strong> to choose from. You can adjust this with the following CSS:<\/p>\n<pre class=\"p1\"><span class=\"s1\">select.form-control.forminputs.wswebinarsys-registration-day-select {\r\n<\/span><span class=\"s1\">margin-bottom:10px;\r\n<\/span><span class=\"s1\">width:50%;\r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">border-color:#662d90;\r\n<\/span><span class=\"s1\">}<\/span>\r\n\r\n<span class=\"s1\">select.form-control.forminputs.wswebinarsys-registration-time-select {\r\n<\/span><span class=\"s1\">margin-bottom:10px;\r\n<\/span><span class=\"s1\">width:50%; \r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">border-color:#662d90;\r\n<\/span><span class=\"s1\">}<\/span><\/pre>\n<p class=\"p1\">If you want to adjust <strong>the button<\/strong>, and the color when you <strong>hover<\/strong> over it, then use the following CSS class:<\/p>\n<pre class=\"p1\"><span class=\"s1\">\/* WP WebinarSystem - Registration form button *\/\r\n<\/span><span class=\"s1\">button.forminputs.wswebinarsys-registration-submit-btn {\r\n<\/span><span class=\"s1\">color: #fff;\r\n<\/span><span class=\"s1\">background-color:#662d90;\r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">width:50%;\r\n<\/span><span class=\"s1\">}<\/span>\r\n\r\n<span class=\"s1\">button.forminputs.wswebinarsys-registration-submit-btn:hover {\r\n<\/span><span class=\"s1\">color: #fff;\r\n<\/span><span class=\"s1\">background-color: #009900;\r\n<\/span><span class=\"s1\">border-radius: 5px;\r\n<\/span><span class=\"s1\">width:50%;\r\n<\/span><span class=\"s1\">}<\/span><\/pre>\n<p class=\"p2\">Below you will see the &#8220;after&#8221; result when I publish the example CSS code from this tutorial. Again, for this example, I used the &#8216;Twenty Fifteen&#8217; theme. Depending on your theme style, you will receive the same results.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-6929\" src=\"https:\/\/wpwebinarsystem.com\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013-after.png\" alt=\"\" width=\"616\" height=\"441\" srcset=\"https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013-after.png 616w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013-after-300x215.png 300w, https:\/\/webinarpress.alphatesting87.com\/us\/wp-content\/uploads\/sites\/3\/2017\/01\/Custom-wordpress-webinar-Registration-Form-\u2013-after-600x430.png 600w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can also customize the <strong>output of the login shortcode<\/strong>. Use the following classes for this:<\/p>\n<pre class=\"p1\"><span class=\"s1\">\/* WP WebinarSystem - Login form *\/\r\n<\/span><span class=\"s1\">input.form-control.forminputs.wswebinarsys-login-email-input {\r\n<\/span><span class=\"s1\">margin-bottom:10px;\r\n<\/span><span class=\"s1\">}<\/span>\r\n\r\n<span class=\"s1\">\/* WP WebinarSystem - Login form button *\/\r\n<\/span><span class=\"s2\">button.forminputs.<\/span><span class=\"s1\">wswebinarsys-login-submit-btn {\r\n<\/span><span class=\"s1\">color: #fff;\r\n<\/span><span class=\"s1\">background-color:#662d90;\r\n<\/span><span class=\"s1\">}<\/span>\r\n\r\n<span class=\"s1\">button.forminputs.wswebinarsys-login-submit-btn:hover {\r\n<\/span><span class=\"s1\">color: #fff;\r\n<\/span><span class=\"s1\">background-color: #009900;\r\n<\/span><span class=\"s1\">}<\/span><\/pre>\n<p class=\"p3\">You can use the custom CSS on both the Lite and <a href=\"https:\/\/webinarpress.alphatesting87.com\/us\/pricing\/\">Paid version<\/a>, but the styling for the dropdown options will only work if you are using the Pro version since you can only conduct automated webinars with\u00a0<a href=\"https:\/\/webinarpress.alphatesting87.com\/us\/\">WebinarPress<\/a>.<\/p>\n<p class=\"p3\">Have fun customizing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using shortcodes to generate a registration form for your webinar, you would probably notice that there is no styling on the output of the forms. If your theme has default form styling configured, then the registration form will adjust to the styling of your own WordPress theme. But if your theme doesn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":3129,"featured_media":4111,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-6920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/posts\/6920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/users\/3129"}],"replies":[{"embeddable":true,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/comments?post=6920"}],"version-history":[{"count":2,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/posts\/6920\/revisions"}],"predecessor-version":[{"id":51689,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/posts\/6920\/revisions\/51689"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/media\/4111"}],"wp:attachment":[{"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/media?parent=6920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/categories?post=6920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webinarpress.alphatesting87.com\/us\/wp-json\/wp\/v2\/tags?post=6920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}