I put this auto generated facebook share button
<div class="fb-share-button" data-href="http://www.kafiyedizini.com" data-type="box_count"></div>
but there is the text is underlined when I hover my mouse over it.
I don't want underlined text inside the facebook share button when mouse hovers it.
how to achieve this?
thank you.
Simply add CSS class with property given below:
.pluginShareButtonLink a:hover{text-decoration:none !important;}
Edit:
I checked that it will not work since facebook button is coming inside iframe
and you can not change style of iframe
which is coming from another server.
add
.fb-share-button {
text-decoration:none;
}
if it is applied already then use text-decoration:none !important
.fb-share-button {
text-decoration:none !important;
}
Try this:-
a:hover{
text-decoration: none !important;
}
This should help
a#u_0_1.pluginShareButtonLink
{
color:transparent !important;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.