I need to create a list similar to this example
https://i.sstatic.net/w84xS.png
Although I successfully replaced the bullet with a fontawesome icon, the result is not quite right as shown here
https://i.sstatic.net/yqnbJ.png
You may notice a difference in spacing between the two. Here is my CSS code:
.custom_list li {
line-height:2em;
padding-left:0px;
padding-top:5px;
padding-bottom:5px;
font-size:14px;
list-style-type:none;
list-style:none;
}
.custom_list li:before {
font-family: 'FontAwesome';
content: "\f192";
color: black;
margin-right:15px;
}
The HTML structure looks like this:
<ul class="custom_list" >
<li>Medical Student Education</li>
<li>Resident Training Education (Medicine, Osteopathic, Pharmacy)</li>
<li>Fellowship Training Education (all medical subspecialties)</li>
<li>Nursing Student Training Education</li>
<li>Nurse Practitioner Education</li>
<li>Nurse Continuing Education</li>
<li>Physician Continuing Medical Education</li>
</ul>
What could be causing this issue?