Skip to content

Instantly share code, notes, and snippets.

@gabelloyd
Created December 20, 2013 20:45
Show Gist options
  • Select an option

  • Save gabelloyd/8061255 to your computer and use it in GitHub Desktop.

Select an option

Save gabelloyd/8061255 to your computer and use it in GitHub Desktop.
WooTestimonials Plugin does not ship with styles. Weak. I installed the WooTestimonials plugin for Wordpress. I then went to a theme with the Peddlar WooTheme installed and grabbed the CSS. I loaded that to my Wordpress site with the plugin and changed the classes so it'll be pretty close to the Peddlar theme style. Further mods needed if you wa…
/* Snippets of WooThemes Testimonials styles */
.quote, {
display: inline;
float: left;
width: 45.83333333333333%;
margin-left: 2.083333333333333%;
margin-right: 2.083333333333333%;
*width: 45.78124999999999%;
*margin-left: 2.0312499999999996%;
*margin-right: 2.0312499999999996%;
}
.quote-content {
display: block;
width: 108.33333333333333%;
margin-left: -4.166666666666666%;
margin-right: -4.166666666666666%;
*width: 108.28125%;
*margin-left: -4.218749999999999%;
*margin-right: -4.218749999999999%;
*zoom: 1;
margin-bottom: 1.618em;
}
.quote-content:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
clear: both;
}
.quote-content:after {
content: "";
display: table;
}
.quote-content:after {
clear: both;
}
.avatar-link {
display: inline;
float: left;
width: 8.333333333333332%;
margin-left: 4.166666666666666%;
margin-right: 4.166666666666666%;
*width: 8.281249999999998%;
*margin-left: 4.114583333333333%;
*margin-right: 4.114583333333333%;
}
.avatar-link img {
width: 100%;
height: auto;
-webkit-border-radius: 100%;
border-radius: 100%;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
padding: .334em;
background: #ffffff;
}
.testimonials-text {
display: inline;
float: left;
width: 75%;
margin-left: 4.166666666666666%;
margin-right: 4.166666666666666%;
*width: 74.94791666666667%;
*margin-left: 4.114583333333333%;
*margin-right: 4.114583333333333%;
}
cite.author {
display: block;
font-style: normal;
font-weight: bold;
}
cite.author .url {
font-weight: normal;
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment