Reply To: Trying to add horizontal opt-in box in welcome widget wide – need help!

Homepage Community Forums Epik Theme Support Trying to add horizontal opt-in box in welcome widget wide – need help! Reply To: Trying to add horizontal opt-in box in welcome widget wide – need help!

#5948
Eric
Customer

    In your home.php file you’ll see this –

    /**
     * Display widget content for the "Home Feature" section.
     *
     */
    function epik_home_loop_helper_welcome() {
    
    	if ( is_active_sidebar( 'welcome-wide' ) || is_active_sidebar( 'welcome-feature-1' ) || is_active_sidebar( 'welcome-feature-2' ) || is_active_sidebar( 'welcome-feature-3' ) ) {
    
    		echo '<div id="welcome"><div class="wrap">';
    		
    			genesis_widget_area( 'welcome-wide', array(
    				'before' => '<div class="welcome-wide">',
    			) );
    			
    		echo '<div id="welcome-features">';
    			
    			genesis_widget_area( 'welcome-feature-1', array(
    				'before' => '<div class="welcome-feature-1">',
    			) );
    			
    			genesis_widget_area( 'welcome-feature-2', array(
    				'before' => '<div class="welcome-feature-2">',
    			) );
    			
    			genesis_widget_area( 'welcome-feature-3', array(
    				'before' => '<div class="welcome-feature-3">',
    			) );				
    		
    		echo '</div><!-- end .welcome-features --></div><!-- end .wrap --></div><!-- end #welcome -->';
    
    	}
    		
    }

    If you take a look at the html here you’ll see what I’m talking about. Everything is inside the #welcome div, so you would need to separate them by creating 2 separate divs for the #welcome and then a div that holds welcome features 1,2, and 3.


    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com