Gallery embed code styling basics
Snapbar encourage the customization of iframes in order to match your site's specific needs!
Note: these styles will not apply to the Gallery itself, but to the embedded window that the gallery is occupying
Within the style="..."
portion of your iframe you'll see a lot of customization options:
โ
style="width:100%;height:100%;border:none;background-color:#ffffff;margin-top:15px"
You can edit, add, or remove any section of the style section in order to accommodate your site's needs.
Here are some basic stylings:
width: can use percentages (
width:100%
), or pixel values (width:400px
),auto
, orinherit
border: dotted, dashed, solid, etc.
height: can use percentages (
width:100%
), or pixel values (width:400px
),auto
, orinherit
margin: can use percentages (
margin-bottom: 10%
), pixel values (margin-left: 25px
),auto
, orinherit
If you feel confident with HTML and CSS, you can use many of (but not all) the options found here.