Skip to content

Instantly share code, notes, and snippets.

@DanielSantoro
Created October 12, 2017 18:53
Show Gist options
  • Save DanielSantoro/5a2d1d8f8964f6fede1e46a9a6397caa to your computer and use it in GitHub Desktop.
Save DanielSantoro/5a2d1d8f8964f6fede1e46a9a6397caa to your computer and use it in GitHub Desktop.
Lindsey Foard CSS
/* This CSS will change the max box width in the selector from 100px to 70px. Note that it changes both sets of boxes so they're the same size - if you want to leave the framing options the 100px size, then use the modified CSS sheet. */
.ed__variation__button__wrp {
max-width: 70px;
max-height: 70px;
}
/* This command makes it so all of the 5 options for the sizes line up. */
table.variations td#ed_wc_pa_choose-print-size .ed__variation__button__wrp {
display: inline-block;
float: left;
}
/* This command changes the font size in the dimensions boxes so they stay on one row. */
table.variations td#ed_wc_pa_choose-print-size .ed__variation__button__wrp label i {
font-size: 14px;
}
/* This command makes the images for the framing options fit within the 70px limit. */
.ed__variation__button__wrp.image_btn img {
max-width: 70px;
max-height: 70px;
float: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment