Put check in your check box

<div class="row rowing">
  <div class="col-6 col-md-3">
  <p class="orange OldStandard"> Menu Filters</p>
  <a type="button" class="check">Select All </a>
  <br>
  <a type="button" class="uncheck"> Unselect All</a>
  <br>
        <input type="checkbox" class="checkbox-round" id="vegan" checked/> <label for="vegan">Vegan</label>
        <br/>
        <input type="checkbox" class="checkbox-round" id="vegetarian" checked/> <label for="vegetarian">Vegetarian</label>
        <br/>
        <input type="checkbox" class="checkbox-round" id="pescetarian" checked/> <label for="pescetarian">Pescetarian</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="dairy-free" checked/> <label for="dairy-free">Dairy-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="egg-free" checked/> <label for="egg-free">Egg-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="fish-free" checked/> <label for="fish-free">Fish-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="shellfish" checked/> <label for="shellfish">Shellfish-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="tree" checked/> <label for="tree">Tree nut-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="peanut" checked/> <label for="peanut">Peanut-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="soy" checked/> <label for="soy">Soy-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="total-fat" checked/> <label for="total-fat">Low Total Fat</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="saturated-fat" checked/> <label for="saturated-fat">Low Saturated Fat</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="cholesterol" checked/> <label for="cholesterol">Low Cholesterol</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="sodium" checked/> <label for="sodium">Low Sodium</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="protein" checked/> <label for="protein">Protein >25g</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="calories" checked/> <label for="calories">Calories  <450 calories</label>
  <br>
  
  </div>

Open in new window


This is my output in the image
see.pngThe orange is selected, the gray isnt selected.
Here is my css:
.checkbox-round {
    width: 13px;
    height: 14px;
    background-color: #ddd;
    border-radius: 50%;
    border: 1px solid white;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
	margin-top: 7px !important;
}

.checkbox-round:checked {
    background-color: #cf5630;
}

Open in new window

How can I make the selected check box look like this:
see1.png(the white check inside)
Does anyone know how?
LVL 1
Jazzy 1012Asked:
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.

Julian HansenCommented:
Can you post a larger image of what you want it to look like.
0
Jazzy 1012Author Commented:
This is the best one I got:
see1.pngBut I just want to have a white checkbox inside the orange circle
0
Julian HansenCommented:
You are going to need to use an icon for that - you can't do it with CSS. So either a glyphicon or a font awesome icon that you hide / show depending on the state of the checkbox.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Jazzy 1012Author Commented:
Okay so if I want to put this font:
<i class="fa fa-check-circle-o" ></i>

How can I hide the checkbox, so I could put this on top of it. Because when I tried now, it only shows up next to it
0
Jazzy 1012Author Commented:
I did this so far, but how can I show it when I click select All? Which is "check in the javascript"
<div class="row rowing">
  <div class="col-6 col-md-3">
  <p class="orange OldStandard"> Menu Filters</p>
  <a type="button" class="check orange pointer OldStandard">Select All </a>
  <br>
  <a type="button" class="uncheck orange pointer OldStandard"> Unselect All</a>
  <br>
        <input type="checkbox" class="checkbox-round" id="vegan" checked/><label for="vegan"><i class="fa fa-check-circle-o hide12" id="chk-btn1"></i>Vegan</label>
        <br/>
        <input type="checkbox" class="checkbox-round" id="vegetarian" checked/> <label for="vegetarian"><i class="fa fa-check-circle-o hide12" id="chk-btn2"></i>Vegetarian</label>
        <br/>
        <input type="checkbox" class="checkbox-round" id="pescetarian" checked/> <label for="pescetarian"><i class="fa fa-check-circle-o hide12" id="chk-btn3"></i>Pescetarian</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="dairy-free" checked/> <label for="dairy-free"><i class="fa fa-check-circle-o hide12" id="chk-btn4"></i>Dairy-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="egg-free" checked/> <label for="egg-free"><i class="fa fa-check-circle-o hide12" id="chk-btn5"></i>Egg-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="fish-free" checked/> <label for="fish-free"><i class="fa fa-check-circle-o hide12" id="chk-btn6"></i>Fish-free</label>
         <br/>
        <input type="checkbox" class="checkbox-round" id="shellfish" checked/> <label for="shellfish"><i class="fa fa-check-circle-o hide12" id="chk-btn7"></i>Shellfish-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="tree" checked/> <label for="tree"><i class="fa fa-check-circle-o hide12" id="chk-btn8"></i>Tree nut-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="peanut" checked/> <label for="peanut"><i class="fa fa-check-circle-o hide12" id="chk-btn9"></i>Peanut-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="soy" checked/> <label for="soy"><i class="fa fa-check-circle-o hide12" id="chk-btn10"></i>Soy-free</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="total-fat" checked/> <label for="total-fat"><i class="fa fa-check-circle-o hide12" id="chk-btn11"></i>Low Total Fat</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="saturated-fat" checked/> <label for="saturated-fat"><i class="fa fa-check-circle-o hide12" id="chk-btn12"></i>Low Saturated Fat</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="cholesterol" checked/> <label for="cholesterol"><i class="fa fa-check-circle-o hide12" id="chk-btn13"></i>Low Cholesterol</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="sodium" checked/> <label for="sodium"><i class="fa fa-check-circle-o hide12" id="chk-btn14"></i>Low Sodium</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="protein" checked/> <label for="protein"><i class="fa fa-check-circle-o hide12" id="chk-btn15"></i>Protein >25g</label>
          <br/>
        <input type="checkbox" class="checkbox-round" id="calories" checked/> <label for="calories"><i class="fa fa-check-circle-o hide12" id="chk-btn16"></i>Calories  <450 calories</label>
  <br>
  
  </div>

		</div>
	</div>
</div>
<script src="http://code.jquery.com/jquery.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script>
$(document).ready(function() {
	$('.check').click(function() {
		  $('input[type="checkbox"]').prop("checked", true);
		});

		$('.uncheck').click(function() {
		  $('input:checkbox').prop("checked", false);
		});
});
</script>

Open in new window

0
Julian HansenCommented:
CSS
<style type="text/css">
input[type=checkbox] {
	display: none;
}
label {
	color: black;
}
label .fa-check {
	display: none;
}
label span {
	position: relative;
}
label .fa-circle {
	color: orange; 
	font-size: 18px;
}
label .fa-check {
	position: absolute; 
	left: 0; 
	color: white; 
	font-size: 12px; 
	padding-left: 1px;
	padding-top: 2px;
}
input:checked + label .fa-check {
	display: inherit;
}
</style>

Open in new window

HTML
<input type="checkbox" id="vegan" value="vegan">
<label for="vegan"><span><i class="fa fa-circle"></i><i class="fa fa-check" ></i></span> Vegan</label><br/>

<input type="checkbox" id="dairy-free" value="dairy-free">
<label for="dairy-free"><span><i class="fa fa-circle"></i><i class="fa fa-check" ></i></span> Dairy Free</label><br/>

<input type="checkbox" id="vegatarian" value="vegatarian">
<label for="vegatarian"><span><i class="fa fa-circle"></i><i class="fa fa-check" ></i></span> Vegatarian</label><br/>

Open in new window


Working sample here
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
Julian HansenCommented:
Sidebar: your checkboxes don't have name attributes - they will not be sent to the server.
1
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
CSS

From novice to tech pro — start learning today.