I need help with Skype contact me button.
Standard skype button using margin: 24px; vertical-align: -30px;
so I'm trying to remove margin and vertical align, but nothing working.
Adding code snippet:
Skype.ui({
"name": "chat",
"element": "SkypeButton_Call_Sandrita.logistics_1",
"participants": ["Sandrita.logistics"],
"imageSize": 24
});
#SkypeButton_Call_Sandrita.logistics_1_paraElement {
margin: 0;
}
#SkypeButton_Call_Sandrita.logistics_1_paraElement img {
margin: 0 !important;
vertical-align: middle !important;
}
<script type="text/javascript" src="https://secure.skypeassets.com/i/scom/js/skype-uri.js"></script>
<header>
<div class="container">
<div id="SkypeButton_Call_Sandrita.logistics_1"></div>
</div>
</header>
Thank you for any help!
You need to escape the dots in the
id
you are using (note that.
is used for referring classes) - see demo below: