Skip to content

Instantly share code, notes, and snippets.

@artlipsky
Created April 8, 2019 11:29
Show Gist options
  • Save artlipsky/5edd5e5e539cb4960990b8fd024d6f41 to your computer and use it in GitHub Desktop.
Save artlipsky/5edd5e5e539cb4960990b8fd024d6f41 to your computer and use it in GitHub Desktop.
/*--------------------Default Styles---------------------*/
.price {
display: block;
color: black;
font-size: 24px;
line-height: 1.2;
font-weight: 700;
}
ins {
text-decoration: none;
}
del {
display: block;
color: #666;
font-size: 12px;
line-height: 1.2;
font-weight: 400;
font-smoothing: antialiased;
}
/*--------------------Custom Styles----------------------*/
/* Regular Price (pay attention not <ins>, <del> and <ins> adding when sale price set only) */
.price {
color: default;
font-size: default;
line-height: default;
font-weight: default;
letter-spacing: default;
text-decoration: default;
}
/* Sale Price */
del {
color: default;
font-size: default;
line-height: default;
font-weight: default;
letter-spacing: default;
text-decoration: default;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment