Forum Replies Created
-
AuthorPosts
-
lvdesignMember
It is weird! But thank you for taking a look at it. I wanted to make sure I wasn't crazy.
I think I'll figure a work around for this. Its not critical that the theme's designated "CTA" property be used. I'm thinking I can try to create a new widget area and place arbitrary text widget into that area. The ultimate goal is to get 2 lines of website intro copy above the slider rather than below.
Thanks again!
lvdesignMemberHi Brad,
I pasted your version of home.php into mine. It looks exactly like what I've had. There's no change on the live site. Still no CTA and still no Slider.
lvdesignMemberEverything is set in the order as I've stated in my earlier response.
In home.php at the top:
function executive_home_genesis_meta() { if ( is_active_sidebar( 'home-cta' ) || is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-middle' ) ) {
And then toward the bottom:
function executive_home_sections() { if ( is_active_sidebar( 'home-cta' ) || is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-middle' ) ) { genesis_widget_area( 'home-cta', array( 'before' => '<div class="home-cta widget-area">', ) ); genesis_widget_area( 'home-slider', array( 'before' => '<div class="home-slider widget-area">', ) ); genesis_widget_area( 'home-top', array( 'before' => '<div class="home-top widget-area">', ) ); genesis_widget_area( 'home-middle', array( 'before' => '<div class="home-middle widget-area">', ) ); }
Its really odd. If I move the HOME-TOP in between the CTA and SLIDER, then everything shows up. But that is not the order I want. I need CTA, SLIDER, TOP, MIDDLE. Otherwise, I'll have to try another solution without the CTA above the slider to work around this.
lvdesignMemberHi Brad,
Thanks for the quick response. I tried swapping all instances of home-cta & home-slider in the home.php file... Its live now, take a look and you'll see the top area is all white.
This only happens when the code for home-cta is set directly before the code for home-slider.
What I'm trying to achieve is this exact widget order on the homepage:
1. Home CTA
2. Home Slider
3. Home Top
4. Home MiddleAny other suggestions?
-
AuthorPosts