I am looking to adjust the font size of the PayPal Login button in order to make it smaller. However, it appears that the CSS generated by a script at the bottom of the head is overriding my changes. The button itself is created by another script which also adds the CSS.
<li><span id="pp_login_container" font-size: "14px"></span>
<script src="https://www.paypalobjects.com/js/external/api.js"></script>
<script>paypal.use(['login'], function(login) {
login.render ({
'appid': '<?php echo $client_id; ?>',
'authend': '<?php echo $sandbox; ?>',
'scopes': '<?php echo $scopes; ?>',
'containerid': 'pp_login_container',
'locale': '<?php echo $locale; ?>',
'theme': '<?php echo $button_colour; ?>',
'returnurl': '<?php echo $return_url; ?>'
});
});
</script>
</span>
</li>
This is how it looks like:
<span id="pp_login_container">
<button id="LIwPP85447951" class="LIwPP PPBlue">
<svg class="PPTM" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16px" height="17px" viewBox="0 0 16 17">
<path class="PPTM-btm" fill="#0079c1" d="m15.603 3.917c-0.264-0.505-0.651-0.917-1.155-1.231-0.025-0.016-0.055-0.029-0.081-0.044 0.004 0.007 0.009 0.014 0.013 0.021 0.265 0.506 0.396 1.135 0.396 1.891 0 1.715-0.712 3.097-2.138 4.148-1.425 1.052-3.418 1.574-5.979 1.574h-0.597c-0.45 0-0.9 0.359-1.001 0.798l-0.719 3.106c-0.101 0.438-0.552 0.797-1.002 0.797h-1.404l-0.105 0.457c-0.101 0.438 0.184 0.798 0.633 0.798h2.1c0.45 0 0.9-0.359 1.001-0.798l...
</style>
Here is the CSS being used
I am attempting this modification in OpenCart2 within the header.tpl file.