Forum Replies Created
-
AuthorPosts
-
adri_nicoleMember
Hello all, So I have my problem fixed now, but will I need to remake these changes when I update wordpress and genesis??
adri_nicoleMemberThank you so much Brad! I'm just in passing right now but will try it out tonight. Hopefully I can get it fixed!
adri_nicoleMember/** REMOVE THIS BIT OF CODE FOR THE ORIGINAL FEATURED WIDGET AREA */ genesis_register_sidebar( array( ‘id’ => ‘featured’, ‘name’ => __( ‘Featured’, ‘associate’ ), ‘description’ => __( ‘This is the featured section.’, ‘associate’ ), ) ); /** END REMOVE */ /** ADD IN THESE NEW WIDGET AREAS */ genesis_register_sidebar( array( ‘id’ => ‘featured-left’, ‘name’ => __( ‘Featured Left’, ‘associate’ ), ‘description’ => __( ‘This is the featured left section.’, ‘associate’ ), ) ); genesis_register_sidebar( array( ‘id’ => ‘featured-right’, ‘name’ => __( ‘Featured Right’, ‘associate’ ), ‘description’ => __( ‘This is the featured right section.’, ‘associate’ ), ) );
adri_nicoleMemberYes, I changed in function.php
/** REMOVE THIS BIT OF CODE FOR THE ORIGINAL FEATURED WIDGET AREA */
genesis_register_sidebar( array(
'id' => 'featured',
'name' => __( 'Featured', 'associate' ),
'description' => __( 'This is the featured section.', 'associate' ),
) );
/** END REMOVE *//** ADD IN THESE NEW WIDGET AREAS */
genesis_register_sidebar( array(
'id' => 'featured-left',
'name' => __( 'Featured Left', 'associate' ),
'description' => __( 'This is the featured left section.', 'associate' ),
) );
genesis_register_sidebar( array(
'id' => 'featured-right',
'name' => __( 'Featured Right', 'associate' ),
'description' => __( 'This is the featured right section.', 'associate' ),
) );adri_nicoleMemberThis was what was originally in functions.php:
genesis_register_sidebar( array(
'id' => 'featured',
'name' => __( 'Featured', 'associate' ),
'description' => __( 'This is the featured section.', 'associate' ),
) );in home.php:
if ( is_active_sidebar( 'featured' ) ) {
in style.css:
.featured {
margin: 0 auto;
height: 430px;
padding: 0 0 25px;
width: 910px;
} -
AuthorPosts