Your cart is currently empty!
after fumbling around for hours, I got it fixed.
Kris
anyone out there to help on this? Can’t get my slider and the wrap to work. Trying to center my slider with the wrap full width. I need asap.
Thanks
Kris
Thanks
looks like I got it to work, not sure why, just deleted and reuploaded.
wierd, I have never had this problem with the theme before.
just tried it no luck.
OK, that was it. In regards to the image in my first post in this thread. I added it but the issue I see is as my screen changes the image size changes and it shows the image repeating versus fitting to the screen size. How do I make the image adjust to the screen size?
thanks
Kris
Wes, one more thing. Can you look at my site? I installed legacy today and add the slider but the format is all messed up and have never had this issue before.
http://www.covertmortgageteam.com
Thanks
Kris
I have and I am not seeing what I missed. Here is my home.php, do you see anything that would not allow the home-featured-middle-4 section to show up?
<?php
add_action( ‘genesis_meta’, ‘ally_home_genesis_meta’ );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function ally_home_genesis_meta() {
if ( is_active_sidebar( ‘slider’ ) || is_active_sidebar( ‘welcome’ ) || is_active_sidebar( ‘home-feature-1’ ) || is_active_sidebar( ‘home-feature-2’ ) || is_active_sidebar( ‘home-feature-3’ ) || is_active_sidebar( ‘home-middle-wide’ ) || is_active_sidebar( ‘home-middle-sidebar-1’ ) || is_active_sidebar( ‘home-middle-sidebar-2’ ) || is_active_sidebar( ‘home-bottom-sidebar-1’ ) || is_active_sidebar( ‘home-bottom-sidebar-2’ ) || is_active_sidebar( ‘home-bottom-sidebar-3’ ) || is_active_sidebar( ‘home-bottom-sidebar-4’ ) || is_active_sidebar( ‘home-bottom-wide’ ) ) {
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
add_action( ‘genesis_after_header’, ‘ally_home_loop_helper_top’ );
add_action( ‘genesis_after_header’, ‘ally_home_loop_helper_feature’ );
add_action( ‘genesis_after_header’, ‘ally_home_loop_helper_middle’ );
add_action( ‘genesis_after_header’, ‘ally_home_loop_helper_bottom’ );
add_action( ‘genesis_after_header’, ‘ally_home_loop_helper_bottom_wide’ );
add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );
}
}
/**
* Display widget content for “slider” and “welcome” sections.
*
*/
function ally_home_loop_helper_top() {
if ( is_active_sidebar( ‘slider’ ) ) {
echo ‘<div id=”slider-wrap”><div class=”slider-inner”>’;
dynamic_sidebar( ‘slider’ );
echo ‘</div><!– end .slider-wrap –></div><!– end #slider-inner –>’;
}
if ( is_active_sidebar( ‘welcome’ ) ) {
echo ‘<div id=”welcome”><div class=”welcome-inner”>’;
dynamic_sidebar( ‘welcome’ );
echo ‘</div><!– end .welcome-inner –></div><!– end #welcome –>’;
}
}
/**
* Display widget content for the “Home Feature Middle” section.
*
*/
function ally_home_loop_helper_feature() {
if ( is_active_sidebar( ‘home-feature-1’ ) || is_active_sidebar( ‘home-feature-2’ ) || is_active_sidebar( ‘home-feature-3’ ) || is_active_sidebar( ‘home-feature-4’ ) || is_active_sidebar( ‘home-feature-middle-sidebar’ ) || is_active_sidebar( ‘home-feature-middle-1’ ) || is_active_sidebar( ‘home-feature-middle-2’ ) || is_active_sidebar( ‘home-feature-middle-3’ ) || is_active_sidebar( ‘home-feature-middle-4’ ) ) {
echo ‘<div class=”home-feature-middle-wrap”>’;
if ( is_active_sidebar( ‘home-feature-middle-sidebar’ ) ) {
echo ‘<div class=”home-feature-middle-sidebar”>’;
dynamic_sidebar( ‘home-feature-middle-sidebar’ );
echo ‘</div><!– end .home-feature-middle-sidebar –>’;
}
echo ‘<div class=”home-feature-middle-section”>’;
if ( is_active_sidebar( ‘home-feature-middle-1’ ) ) {
echo ‘<div class=”home-feature-middle-1″>’;
dynamic_sidebar( ‘home-feature-middle-1’ );
echo ‘</div><!– end .home-feature-middle-1 –>’;
}
if ( is_active_sidebar( ‘home-feature-middle-2’ ) ) {
echo ‘<div class=”home-feature-middle-2″>’;
dynamic_sidebar( ‘home-feature-middle-2’ );
echo ‘</div><!– end .home-feature-middle-2 –>’;
}
if ( is_active_sidebar( ‘home-feature-middle-3’ ) ) {
echo ‘<div class=”home-feature-middle-3″>’;
dynamic_sidebar( ‘home-feature-middle-3’ );
echo ‘</div><!– end .home-feature-middle-3 –>’;
}
if ( is_active_sidebar( ‘home-feature-middle-4’ ) ) {
echo ‘<div class=”home-feature-middle-4″>’;
dynamic_sidebar( ‘home-feature-middle-4’ );
echo ‘</div><!– end .home-feature-middle-4 –>’;
}
echo ‘</div><!– end #home-feature-middle-section –></div><!– end #home-feature-middle-wrap –>’;
echo ‘<div id=”home-feature-wrap”>’;
if ( is_active_sidebar( ‘home-feature-1’ ) ) {
echo ‘<div class=”home-feature-1″>’;
dynamic_sidebar( ‘home-feature-1’ );
echo ‘</div><!– end .home-feature-1 –>’;
}
if ( is_active_sidebar( ‘home-feature-2’ ) ) {
echo ‘<div class=”home-feature-2″>’;
dynamic_sidebar( ‘home-feature-2’ );
echo ‘</div><!– end .home-feature-2 –>’;
}
if ( is_active_sidebar( ‘home-feature-3’ ) ) {
echo ‘<div class=”home-feature-3″>’;
dynamic_sidebar( ‘home-feature-3’ );
echo ‘</div><!– end .home-feature-3 –>’;
}
echo ‘</div><!– end #home-feature-wrap –>’;
}
}
/**
* Display widget content for “Home Middle” section.
*
*/
function ally_home_loop_helper_middle() {
if ( is_active_sidebar( ‘home-middle-wide’ ) || is_active_sidebar( ‘home-middle-sidebar-1’ ) || is_active_sidebar( ‘home-middle-sidebar-2’ ) ) {
echo ‘<div id=”home-middle”>’;
if ( is_active_sidebar( ‘home-middle-wide’ ) ) {
echo ‘<div class=”home-middle-wide”>’;
dynamic_sidebar( ‘home-middle-wide’ );
echo ‘</div><!– end .home-middle-wide –>’;
}
if ( is_active_sidebar( ‘home-middle-sidebar-1’ ) ) {
echo ‘<div class=”home-middle-sidebar-1″>’;
dynamic_sidebar( ‘home-middle-sidebar-1’ );
echo ‘</div><!– end .home-middle-sidebar-1 –>’;
}
if ( is_active_sidebar( ‘home-middle-sidebar-2’ ) ) {
echo ‘<div class=”home-middle-sidebar-2″>’;
dynamic_sidebar( ‘home-middle-sidebar-2’ );
echo ‘</div><!– end .home-middle-sidebar-2 –>’;
}
echo ‘</div><!– end #home-middle –>’;
}
}
/**
* Display widget content for the “Home Bottom” section.
*
*/
function ally_home_loop_helper_bottom() {
if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) || is_active_sidebar( ‘home-bottom-sidebar-2’ ) || is_active_sidebar( ‘home-bottom-sidebar-3’ ) || is_active_sidebar( ‘home-bottom-sidebar-4’ ) ) {
echo ‘<div id=”home-bottom”>’;
if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) ) {
echo ‘<div class=”home-bottom-sidebar-1″>’;
dynamic_sidebar( ‘home-bottom-sidebar-1’ );
echo ‘</div><!– end .home-bottom-sidebar-1 –>’;
}
if ( is_active_sidebar( ‘home-bottom-sidebar-2’ ) ) {
echo ‘<div class=”home-bottom-sidebar-2″>’;
dynamic_sidebar( ‘home-bottom-sidebar-2’ );
echo ‘</div><!– end .home-bottom-sidebar-2 –>’;
}
if ( is_active_sidebar( ‘home-bottom-sidebar-3’ ) ) {
echo ‘<div class=”home-bottom-sidebar-3″>’;
dynamic_sidebar( ‘home-bottom-sidebar-3’ );
echo ‘</div><!– end .home-bottom-sidebar-3 –>’;
}
if ( is_active_sidebar( ‘home-bottom-sidebar-4’ ) ) {
echo ‘<div class=”home-bottom-sidebar-4″>’;
dynamic_sidebar( ‘home-bottom-sidebar-4’ );
echo ‘</div><!– end .home-bottom-sidebar-4 –>’;
}
echo ‘</div><!– end #home-bottom –>’;
}
}
/**
* Display widget content for the “Home Bottom” section.
*
*/
function ally_home_loop_helper_bottom_wide() {
if ( is_active_sidebar( ‘home-bottom-wide’ ) ) {
echo ‘<div id=”home-bottom-wide”><div class=”wrap”>’;
dynamic_sidebar( ‘home-bottom-wide’ );
echo ‘</div><!– end .wrap –></div><!– end #home-bottom-wide –>’;
}
}
genesis();
I added it now.
After some work it looks like I got the layout fixed. My issue now is I can’t get my home-feature-middle-4 widget to show up?
Kris
OK, I got this one fixed.
Never mind, I got this fixed.
OK, I will check, did you see my other post?
thanks
I added 20px, it is adding the nav bar on the home page.
Look at my home page.
so when I do that it adds to the home page which creates space above my slider. Can I exclude it from the home page or is there a differnt solution?
Thanks
kris
OK, so I have done some more work on it, I can’t get the box-2 (right widget of the slider) to be in the right position)
Thanks
Kris
Ok, I have been working on this and I am missing something and can’t get it figured out. This is what I have for my home.php, I have tried a few different things so I know this one is wrong.
/**
* Display widget content for “slider” and “welcome” sections.
*
*/
function adapt_home_loop_helper_top() {
echo ‘<div>’;
if ( is_active_sidebar( ‘box-1’ ) ) {
echo ‘<div>’;
dynamic_sidebar( ‘box-1’ );
echo ‘</div><!– end .box-1 –>’;
}
if ( is_active_sidebar( ‘slider’ ) ) {
echo ‘<div>’;
dynamic_sidebar( ‘slider’ );
echo ‘</div><!– end .slider –>’;
}
if ( is_active_sidebar( ‘box-2’ ) ) {
echo ‘<div>’;
dynamic_sidebar( ‘box-2’ );
echo ‘</div><!– end .box-2 –>’;
}
echo ‘</div><!– end #slider-wrap –>’;
}
echo ‘<div>’;
if ( is_active_sidebar( ‘welcome’ ) ) {
echo ‘<div><div>’;
dynamic_sidebar( ‘welcome’ );
echo ‘</div><!– end .welcome-wrap –></div><!– end .welcome-inner –>’;
}
echo ‘</div><!– end #welcome-wrap –>’;
my website is http://www.kriscovert.com
Thanks
Kris
Ok, so I put a section for the footer, but it doesn’t come up. I have a #header and a #footer styling it, if I delete the #header ID it works, but I can’t style them different sizes?
Thanks
kris
OK, I have the same widget in both the header and footer 4
Kris
I used a custom menu like in Studiopress blog, I was able to get it to work in the header but not in the footer.
http://www.studiopress.com/graphics/social-media-icons
Thanks
Kris
thanks for the help. Worked like a charm.
I just noticed one other thing. My internal pages on the footer extend out, but the footer area is not formatted the same as the home page for spacing?
Thanks
Kris
Got it thanks.
I am stuck here, so I seperated the home-sidebar 1 and 2 but now I am trying to figure out the home sidebar and featured posts.
here is what I have and am working on.
*/
function adapt_home_loop_helper() {
if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) || is_active_sidebar( ‘home-bottom-sidebar-2’ ) || is_active_sidebar( ‘home-bottom-sidebar’ ) || is_active_sidebar( ‘home-featured-posts’ ) || is_active_sidebar( ‘home-bottom-top-message’ ) ) {
echo ”;
if ( is_active_sidebar( ‘home-bottom-top-message’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-top-message’ );
echo ‘‘;
}
if ( is_active_sidebar( ‘home-bottom-sidebar-1’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar-1’ );
echo ‘‘;
}
if ( is_active_sidebar( ‘home-bottom-sidebar-2’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar-2’ );
echo ‘‘;
}
echo ‘‘;
if ( is_active_sidebar( ‘home-bottom-sidebar’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-sidebar’ );
echo ‘‘;
}
if ( is_active_sidebar( ‘home-featured-posts’ ) ) {
echo ”;
dynamic_sidebar( ‘home-featured-posts’ );
echo ‘‘;
}
if ( is_active_sidebar( ‘home-bottom-message’ ) ) {
echo ”;
dynamic_sidebar( ‘home-bottom-message’ );
echo ‘‘;
}
}
}
genesis();
got it, thanks for the help.
Ok, so I got it, the problem I am having is getting the the secondary 1 and secondary 2 into the slider area, got it to work fine on another site but it isn’t working on this one at this point.
kris
I tried to use the genesis hook plugin and it puts all these red boxes on the site, can I use this plugin to accomplish this?
Also, can you forward me the new version of optimal, can’t find it in my emails
Thanks
Kris
for some reason I am stuck on this, I have been going round and round. Any suggestions on what I am doing wrong?
Kris
2 questions:
1. I got that to work, but my bottom featured posts section is spread out to, but when I make a width it effects my home bottom message section. I am assuming I need to seperate them in the home.php?
2. Where do I get the new version 1.1?
thanks
Kris