Forum Replies Created
-
AuthorPosts
-
theKatrinaM
MembertheKatrinaM
MemberThanks @WisdmLabs I was able to get it to work keeping the 'genesis_meta'
`<?php
add_action( 'genesis_meta', 'riot_home_genesis_meta' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function riot_home_genesis_meta() {if ( is_active_sidebar('home-top-left' ) || is_active_sidebar('home-top-right') || is_active_sidebar( 'home-middle1' ) || is_active_sidebar( 'home-middle2' ) || is_active_sidebar( 'home-middle3' )|| is_active_sidebar( 'home-bottom' )) {
//* Force full-width-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );// Add riot-home body class
add_filter( 'body_class', 'riot_body_class' );
function riot_body_class( $classes ) {
$classes[] = 'riot-home';
return $classes;
}// Remove the default Genesis loop
remove_action( 'genesis_loop', 'genesis_do_loop' );// Add homepage widgets
add_action( 'genesis_loop', 'riot_homepage_widgets' );}
}function riot_homepage_widgets() {
if ( is_active_sidebar( 'home-top-left' ) || is_active_sidebar( 'home-top-right' )) {
echo '<div class="home-top">';
genesis_widget_area( 'home-top-left', array(
'before' => '<div class="home-top-left widget-area">',
'after' => '</div>',
) );genesis_widget_area( 'home-top-right', array(
'before' => '<div class="home-top-right widget-area">',
'after' => '</div>',
) );echo '</div>';
}
if ( is_active_sidebar( 'home-middle1' ) || is_active_sidebar('home-middle2') || is_active_sidebar( 'home-middle3' )) {
echo '<div class="home-middle">';
genesis_widget_area( 'home-middle1', array(
'before' => '<div class="home-middle1 widget-area">',
'after' => '</div>',
) );genesis_widget_area ('home-middle2', array(
'before' => '<div class="home-middle2 widget-area">',
'after' => '</div>',
) );genesis_widget_area( 'home-middle3', array(
'before' => '<div class="home-middle3 widget-area">',
'after' => '</div>',
) );echo '</div>';
genesis_widget_area( 'home-bottom', array(
'before' => '<div class="home-bottom widget-area">',
) );}
}genesis();
theKatrinaM
MembertheKatrinaM
MembertheKatrinaM
Member@braddalton Yes I want them next to each other, the way I did it on this site.
http://besassydemo.blogspot.com/
theKatrinaM
MembertheKatrinaM
MemberI don't see how what is "populating" in the widget area is the issue. I'm showcasing featured post, which have been done on many of blogs using the Genesis Framework. For some reason in this case it isn't working, most likely it could have been a coding error on my part. Which is what I'm trying to figure out.
theKatrinaM
MembertheKatrinaM
MembertheKatrinaM
MembertheKatrinaM
MemberI removed it as a widget and created it as a photo instead. Thank you for wanting to help.
http://www.riotcustoms.com - the site is under maintenance.
December 30, 2013 at 2:52 am in reply to: No widget for a display box after post [modern portfolio] #81991theKatrinaM
MembertheKatrinaM
MembertheKatrinaM
MembertheKatrinaM
MemberDecember 17, 2012 at 3:03 am in reply to: CSS Help please? How do I remove text shadow in menu please? #5698theKatrinaM
MemberMy coding is a bit difficult to understand but this should give you a general idea on the hover issue
.menu-primary li a:active,
.menu-primary li a:hover,
.menu-primary .current_page_item a,
.menu-primary .current-cat a,
.menu-primary .current-menu-item a, {
background-color: #fff;
color: #b2c802;
}
I hope this helps
text-transform: none;
December 17, 2012 at 12:14 am in reply to: How can I make the call to action section a graphic? #5683theKatrinaM
MemberDecember 17, 2012 at 12:11 am in reply to: CSS Help please? How do I remove text shadow in menu please? #5682theKatrinaM
MembertheKatrinaM
MembertheKatrinaM
Member -
AuthorPosts