Skip to content

Instantly share code, notes, and snippets.

/* CUSTOM CODE REQUIRED FOR THIS TEMPLATE DO NOT REMOVE */
bc. body, h1, h2, h3, h4, h5, h6, p, li, ul{
-webkit-font-smoothing:auto;
text-rendering: optimizelegibility;
}
body {
background-repeat: no-repeat;
/* CUSTOM CODE REQUIRED FOR THIS TEMPLATE DO NOT REMOVE */
.testimonial-style-6-img-container {
border-style: solid;
border-width: 4px;
border-color: #096aac;
}
#superscript {
vertical-align: super;
<script>
jQuery(function($) {
$(window).scroll(function(){
if($(window).scrollTop() >50) {
$('.banner').addClass("banner-scroll");
}else {
$('.banner').removeClass("banner-scroll");
}
});
});
/* CUSTOM CODE REQUIRED FOR THIS TEMPLATE DO NOT REMOVE */
body {
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
@frosdick
frosdick / OptimizePress Triangle CSS
Last active August 7, 2016 13:32
Add the div class row to "code after row" section. Read more over at https://www.optimizepress.com/styling-css-hacks-for-optimizepress/
/* Add Triangle CSS to OptimizePress Row */
.arrowRow {
position: relative;
bottom: 0;
width: 100%;
padding-bottom:4%; /* This adjusts top & bottom padding, you could remove this & add height class to before and after */
background-color: #fff; /* Edit the colour to match the colour of the row below */
}
.arrowRow:before, .arrowRow:after {
content:'';
/* CUSTOM CODE REQUIRED FOR THIS TEMPLATE DO NOT REMOVE */
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300|Roboto:400,300);
.roboto p{font-family: 'Roboto', arial, sans-serif;font-weight:300}
.roboto-slab h2{font-family: 'Roboto Slab', serif; font-weight:300;}
h1{font-family: 'Roboto Slab', serif;}