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 widget areas */ | |
genesis_register_sidebar( array( | |
'id' => 'welcome-text', | |
'name' => __( 'Welcome Text', 'genesis' ), | |
'description' => __( 'This is the welcome text widget.', 'themename' ), | |
) ); | |
/** Add the welcome text section */ | |
add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' ); | |
function custom_welcome_text() { |
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
/* Welcome Text | |
------------------------------------------------------------ */ | |
.welcome-text { | |
border-bottom: double #ddd; | |
border-top: double #ddd; | |
font-family: 'Lora', serif; | |
font-size: 30px; | |
line-height: 1.0; | |
overflow: hidden; |
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
if ( ! is_home() ) | |
return; |
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_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' ); |
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
<div class="class-name">Put stuff here</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
.class-name { | |
color: white; | |
background: black; | |
font-size: 50px; | |
padding:10px; | |
} | |
.class-name p { | |
text-align: center; | |
font-size: 50px; |
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
<div class="clear-line"></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
<?php | |
if ( ( is_home() ) ) | |
{ ?> | |
//your code goes here... | |
<?php } | |
?> |
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 widget areas */ | |
genesis_register_sidebar( array( | |
'id' => 'welcome-text', | |
'name' => __( 'Welcome Text', 'genesis' ), | |
'description' => __( 'This is the welcome text widget.', 'themename' ), | |
) ); | |
/** Add the welcome text section */ | |
add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' ); | |
function custom_welcome_text() { |
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
#ez-home-slider-container-wrap .slider-wrapper { | |
background: #6C7030; | |
} |
OlderNewer