Using Custom CSS to make the form look cooler.
Introduction
In this blog I will be explaining about creating custom
CSS to make the pcs form look better.
Main Article
In this post let’s make the form look more appealing.
In the below screenshot as you can observe the initial
form looks old school and doesn’t look much appealing.
And the beautify options provided by the PCS by default
are very basic.
We can overcome this by having a custom CSS of our own
and make the form look more appealing to the customer.
Follow the below steps in order:
1. Go
to the form you have developed.
2. Under
form properties go to form properties
3. Click
on the upload
4. Select
the custom CSS file you had developed.
5. The
form gets change to below screen shot
As you could see we had changed added
sample logos to the fields which is not possible by default and
changed the background color as well.
The CSS code used above:
input[name=items] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-image:
url('https://cdn-icons-png.flaticon.com/512/151/151773.png') ;
background-size: 10px;
background-repeat: no-repeat;
}
input[name=name] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-image: url('https://toppng.com/uploads/preview/mail-icon-11549825367za0blj7xnt.png')
;
background-size: 20px;
background-repeat: no-repeat;
}
input[name=quoteDate] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-size: 20px;
background-repeat: no-repeat;
}
input[name=reviewNeeded] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-image: url('https://www.freeiconspng.com/thumbs/review-icon-png/review-icon-13.png')
;
background-size: 20px;
background-repeat: no-repeat;
}
input[name=validateDate] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-size: 20px;
background-repeat: no-repeat;
}
input[name=amount] {
width: 80%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border:2px solid DodgerBlue;
background-image:
url('https://www.freepnglogos.com/uploads/dollar-sign-png/dollar-sign-dollar-symbol-signs-icons-1.png')
;
background-size: 20px;
background-repeat: no-repeat;
}
body{
background-colour:
#edf033;
}
Hope you all will utilize the Advanced CSS option and create more
appealing forms in future.
-Preetham Konjeti
Comments
Post a Comment