CSS Animated Hamburger Icon with Transforms
A Pen by Elijah Manor on CodePen.
/* Place the following at the point you want to center them in your CSS file, e.g. after the 1023 or 768px media query */ | |
.simple-social-icons ul { | |
float: none; | |
text-align: center; | |
} | |
.simple-social-icons ul li { | |
display: inline-block; | |
float: none !important; |
<?php | |
//* Do NOT include the opening php tag | |
/** | |
* Get featured image markup. | |
* | |
* Only when the single Post or Page has a featured image, and only when | |
* showing the first page when the Page or Post is divided into multiple | |
* pages using next page quicktag. | |
* |
//* Add #sb-site to .site-container div | |
add_filter( 'genesis_attr_site-container', 'custom_genesis_attributes_entry' ); | |
/** | |
* Add attributes for entry element. | |
* | |
* @since 2.0.0 | |
* | |
* @param array $attributes Existing attributes. | |
* | |
* @return array Amended attributes. |
<?php | |
/* Template Name: Sales | |
----------------------------------*/ | |
//* Enqueue scripts and styles | |
add_action( 'wp_enqueue_scripts', 'cegg_image_load_scripts_styles' ); | |
function cegg_image_load_scripts_styles() { | |
if ( has_post_thumbnail() ) { |
CSS Animated Hamburger Icon with Transforms
A Pen by Elijah Manor on CodePen.
<?php //<~ Add me in | |
add_action( 'genesis_before_content', 'ng_home_page_widgets' ); | |
/* | |
* Add the home widgets in place | |
*/ | |
function ng_home_page_widgets() { | |
genesis_widget_area ('content-1', array( |
<?php | |
/* | |
Plugin Name: Testimonials Custom Post Type | |
Plugin URI: http://wpbeaches.com/create-custom-post-types-in-genesis-child-theme-in-wordpress/ | |
Description: Testimonials Custom Post Types | |
Author: Neil Gowran | |
Version:1.0.0 | |
Author URI:http://wpbeaches.com | |
*/ |
<p>Our SEO services are among the very best in the industry.</p> | |
<div class="pricing-table"> | |
<div class="one-third first"> | |
<h4>Basic - $95</h4> | |
<ul> | |
<li>List Item #1</li> | |
<li>List Item #2</li> | |
<li>List Item #3</li> |