I have the following code:
<div class="fb-login-button" data-max-rows="1" data-size="large" data-show-faces="false" data-auto-logout-link="true" data-login-text="Sign in with Facebook"></div>
I want to be able to somehow change the width and height of the button to a custom size.
Is this possible?
I've tried using CSS techniques to manipulate the iframe but it doesn't seem to work, such as adding it to the CSS in inspect element:
._4z_b{
background: #4c69ba;
background: -webkit-gradient(linear, center top, center bottom, from(#4c69ba), to(#3b55a0));
background: -webkit-linear-gradient(#4c69ba, #3b55a0);
border-color: #4c69ba;
-webkit-border-radius: 2px;
color: #fff;
font-family: "Helvetica neue";
-webkit-font-smoothing: antialiased;
text-shadow: 0 -1px 0 #354c8c;
width: 249px;
height: 36px;
}
How could I override the iframe made by Facebook to incorporate this custom sizing?
Thanks