This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="description" content="$1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>$2</title> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1); | |
-moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.075), inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.1); | |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
border-radius: 4px; | |
-moz-border-radius: 4px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.menu { | |
display: block; | |
clear: both; | |
position: absolute; | |
font-size: 12px; | |
} | |
.menu li { | |
float: left; | |
border: 1px solid #DDD; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom Page Title Area | |
// Register Page Title Sidebar | |
genesis_register_sidebar( array( | |
'id' => 'page-title', | |
'name' => __( 'Page Title', 'sf-edd' ), | |
'description' => __( 'This is the page title section.', 'sf-edd' ), | |
) ); | |
// Display Custom Page Sidebar | |
/** Add the page title section */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
register_sidebar( array( | |
'id' => 'fixed-tab', | |
'name' => 'Fixed Tab', | |
'description' => 'Place fixed tab code here.', | |
'before_widget' => '<div id="fixed-chat" class="">', | |
'after_widget' => '</div>', | |
) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
genesis_register_sidebar(array( | |
'name'=>'Home Featured Text', | |
'description' => 'This is centered below the slider, place your favorite testimonial or mission statement here.', | |
'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', | |
'before_title'=>'<h4 class="widgettitle">','after_title'=>'</h4>' | |
)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//add php functionality in text widget | |
add_filter('widget_text', 'php_text', 99); | |
function php_text($text) { | |
if (strpos($text, '<' . '?') !== false) { | |
ob_start(); | |
eval('?' . '>' . $text); | |
$text = ob_get_contents(); | |
ob_end_clean(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Slider Styles for Genesis Responsive Slider | |
------------------------------------------------------------ */ | |
.slider li { | |
list-style: none; | |
} | |
.slider { | |
position: relative; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#fixed-chat { | |
position: fixed; | |
right: 0; | |
bottom: 45%; | |
display: block; | |
width: 70px; | |
height: 50px; | |
overflow: hidden; | |
z-index: 999; | |
} |
NewerOlder