home bottom 1-3 is behaving like footer

Community Forums Forums Design Tips and Tricks home bottom 1-3 is behaving like footer

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  venkats 1 year, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5423

    venkats
    Participant
    Post count: 6

    Hi,

    looking for help on these 3 issues, as i have tried all possible things, but didn’t find solution.

    1. Below ‘home middle 1-3′, i have added ‘home bottom 1-3″ and it is working well as expected. The only problem is, it is appearing as footer in all pages.

    my site

    http://chipedge.com

    Is this code in functions.php causing the problem, particularly “child_after_content_ad_sidebar”

    ————

    add_action( ‘genesis_after_content_sidebar_wrap’, ‘child_after_content_ad_sidebar’ );
    /** Loads a new sidebar after the content */
    function child_after_content_ad_sidebar() {

    echo ‘<div class=”home-bottom-1″>';
    dynamic_sidebar( ‘home-bottom-1′ );
    echo ‘</div>';

    echo ‘<div class=”home-bottom-2″>';
    dynamic_sidebar( ‘home-bottom-2′ );
    echo ‘</div>';

    echo ‘<div class=”home-bottom-3″>';
    dynamic_sidebar( ‘home-bottom-3′ );
    echo ‘</div>';

    }

    ———-

    2. For the footer,  how to control the color of the titles & links. If  i change, it is changing the home middle 1-3, home bottom 1-3 also, which i do not want.  So where to edit locally.

    3. Where to edit to reduce the gap between home top and home middle.

    Thanks in advance.

    #5424

    venkats
    Participant
    Post count: 6

    forgot to mention, i am using enterprise theme.

    #5540

    AC
    Blocked
    Post count: 7712

    It’s helpful to only post once. Did you copy and paste the footer code in order to make your three widget areas?

    #5549

    venkats
    Participant
    Post count: 6

    Hi Anitac,

    I dont think, i have copied the footer code, but ‘home middle’ part of the code in ‘functions.php’ as below.

    After copying, i have renamed ‘home middle –> home bottom”

    ==========

    genesis_register_sidebar( array(
    ‘id’ => ‘home-bottom-1′,
    ‘name’ => __( ‘Home Bottom #1′, ‘enterprise’ ),
    ‘description’ => __( ‘This is home bottom #1 section.’, ‘enterprise’ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘home-bottom-2′,
    ‘name’ => __( ‘Home Bottom #2′, ‘enterprise’ ),
    ‘description’ => __( ‘This is home bottom #2 section.’, ‘enterprise’ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘home-bottom-3′,
    ‘name’ => __( ‘Home Bottom #3′, ‘enterprise’ ),
    ‘description’ => __( ‘This is home bottom #3 section.’, ‘enterprise’ ),
    ) );

    add_action( ‘genesis_after_content_sidebar_wrap’, ‘child_after_content_ad_sidebar’ );
    /** Loads a new sidebar after the content */
    function child_after_content_ad_sidebar() {

    echo ‘<div class=”home-bottom-1″>';
    dynamic_sidebar( ‘home-bottom-1′ );
    echo ‘</div>';

    echo ‘<div class=”home-bottom-2″>';
    dynamic_sidebar( ‘home-bottom-2′ );
    echo ‘</div>';

    echo ‘<div class=”home-bottom-3″>';
    dynamic_sidebar( ‘home-bottom-3′ );
    echo ‘</div>';

    ===========

    #5553

    venkats
    Participant
    Post count: 6

    realized that i haven’t edited ‘home.php’, but only functions.php while adding these 3 extra widgets (home bottom 1-3).  I have followed one WP/studio press article on creating extra widgets.

    Do you think this is the issue ? kindly advice.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.