Skip to content

Instantly share code, notes, and snippets.

View DustinHartzler's full-sized avatar

Dustin Hartzler DustinHartzler

View GitHub Profile
#header {
float: left !important;
max-width: 20%;
position: absolute !important;
z-index: 1;
}
.home-section.testimonials .widget_woothemes_testimonials .quote .avatar {
margin: 0 2.618em 2.618em 0;
float: left;
}
.home-section.testimonials .widget_woothemes_testimonials .quote:nth-of-type(n+2) {
margin-bottom: 0;
padding-bottom: 0; }
.home-section.testimonials .widget_woothemes_testimonials .quote:nth-of-type(n+2) .avatar {
float: right;
margin: 0 0 2.618em 2.618em;
@media only screen and (max-width: 499px) {
.hero h1.section-title {
display: none;
}
}
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.
/**
* WooThemes Component Widget
*
* A WooThemes standardized component widget.
*
* @package WordPress
* @subpackage WooFramework
.post-690 h1 {
width:70%;
}
#product-690 p.price {
width: 30%;
}
add_action( 'init', 'custom_remove_footer_credit', 10 );
function custom_remove_footer_credit () {
remove_action( 'storefront_footer', 'storefront_credit', 20 );
add_action( 'storefront_footer', 'custom_storefront_credit', 20 );
}
function custom_storefront_credit() {
?>
<div class="site-info">
.content-area, .widget-area,
.site-main {
margin-bottom: none;
}
@media screen and (min-width: 768px){
.sph-hero {
margin-bottom: none;
}
}
@media only screen and (min-width: 980px) {
.two-col-left #main-sidebar-container #sidebar, .two-col-right #main-sidebar-container #sidebar {
width: 31.91%;
height: 350px;
}
}
add_action( 'init', 'custom_remove_footer_credit', 10 );
function custom_remove_footer_credit () {
remove_action( 'storefront_footer', 'storefront_credit', 20 );
add_action( 'storefront_footer', 'custom_storefront_credit', 20 );
}
function custom_storefront_credit() {
?>
<div class="site-info">
@media only screen and (min-width: 768px) {
#loopedSlider .content p,
#loopedSlider .content h2 {
float:none;
}
}