I am trying to customize the styles of the iFrame for my buy button, but I am having trouble finding resources that specifically address these aspects. I do not want to disable the iFrame, just make some modifications to it:
.shopify-buy__layout-vertical {
text-align: right;
}
.shopify-buy__option-select-wrapper {
border: 0px;
border-radius: 5px;
position: fixed;
height: 42px;
bottom: 0;
width: 85px;
}
When using FireFox and the inspector tool, I have been able to identify these elements in the live view and make changes to the CSS. However, I am unsure how to implement these changes permanently in the code. I have tried adding the CSS directly to my main stylesheet, but it has not been effective.
You can see the original buy button code and my attempted css alterations in this JSFiddle (note that the alterations are not currently working): https://jsfiddle.net/johnsmithh/eo4rzLwc/3/