Adding fontawsome icon to select
up vote
0
down vote
favorite
I want to add fontawsome icons inside my select field, as i understand it is not possible to do so in a normal fashion, but you need to add the icons unicode. Witch i have tried. Looking for tips or pointers.
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
I have tried your solutions and nothing works, i also tried to change the url to the lastest version of fontawsome like so
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
html font-awesome
add a comment |
up vote
0
down vote
favorite
I want to add fontawsome icons inside my select field, as i understand it is not possible to do so in a normal fashion, but you need to add the icons unicode. Witch i have tried. Looking for tips or pointers.
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
I have tried your solutions and nothing works, i also tried to change the url to the lastest version of fontawsome like so
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
html font-awesome
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add afont-weigth: 900;
aswell
– Thomas Scheffer
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to add fontawsome icons inside my select field, as i understand it is not possible to do so in a normal fashion, but you need to add the icons unicode. Witch i have tried. Looking for tips or pointers.
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
I have tried your solutions and nothing works, i also tried to change the url to the lastest version of fontawsome like so
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
html font-awesome
I want to add fontawsome icons inside my select field, as i understand it is not possible to do so in a normal fashion, but you need to add the icons unicode. Witch i have tried. Looking for tips or pointers.
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
I have tried your solutions and nothing works, i also tried to change the url to the lastest version of fontawsome like so
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1"> 1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
@import url("https://use.fontawesome.com/releases/v5.5.0/css/all.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="rating">
<option value="1"> 1</option>
<option value="2"> 2</option>
<option value="3"> 3</option>
<option value="4"> 4</option>
<option value="5"> 5</option>
</select>
</div>
html font-awesome
html font-awesome
edited yesterday
asked yesterday
Pontus
96
96
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add afont-weigth: 900;
aswell
– Thomas Scheffer
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday
add a comment |
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add afont-weigth: 900;
aswell
– Thomas Scheffer
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add a
font-weigth: 900;
aswell– Thomas Scheffer
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add a
font-weigth: 900;
aswell– Thomas Scheffer
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
The unicodes can be found when you click on an icon: http://fontawesome.io/icons
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
The unicodes can be found when you click on an icon: http://fontawesome.io/icons
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
add a comment |
up vote
1
down vote
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
The unicodes can be found when you click on an icon: http://fontawesome.io/icons
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
add a comment |
up vote
1
down vote
up vote
1
down vote
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
The unicodes can be found when you click on an icon: http://fontawesome.io/icons
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
The unicodes can be found when you click on an icon: http://fontawesome.io/icons
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css");
select { font-family: 'FontAwesome', Verdana }
<div class="form-group">
<label for="grade">Sätt betyg på ölen</label>
<select class="form-control" name="grade">
<option value="1" >1 </option>
<option value="2">2 </option>
</select>
</div>
answered yesterday
Asad
367
367
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
add a comment |
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
jsfiddle.net/8wpd6m0x here also you can see the code
– Asad
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
Is it not possible to do it with the latest font awsome use.fontawesome.com/releases/v5.5.0/css/all.css?
– Pontus
yesterday
i'll check n let you know
– Asad
10 hours ago
i'll check n let you know
– Asad
10 hours ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53372194%2fadding-fontawsome-icon-to-select%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try this: jsfiddle.net/n31pbqog/554
– Mohammad Zare Moghadam
yesterday
Did you the font awesome font-family for the options? And when using the free versionyou should add a
font-weigth: 900;
aswell– Thomas Scheffer
yesterday
Possible duplicate of font awesome icon in select option
– Liam
yesterday