Forum Replies Created
-
AuthorPosts
-
NonTechieMember
Hi Andytc
It worked like a charm.
Thanks a lot.NonTechieMemberI see the following codes in my functions.php but I don't know which one to delete to make the footer widget area full width and connected to the site footer.
// Close wrap within site-container.
add_action( 'genesis_after_footer', 'news_close_site_container_wrap' );
function news_close_site_container_wrap() {echo '</div>';
}
// Add support for 6-column footer widgets.
add_theme_support( 'genesis-footer-widgets', 6 );// Add support for after entry widget.
add_theme_support( 'genesis-after-entry-widget-area' );// Relocate after entry widget.
remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' );
add_action( 'genesis_after_entry', 'genesis_after_entry_widget_area', 5 );// Register widget areas.
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home - Top', 'news-pro' ),
'description' => __( 'This is the top section of the homepage.', 'news-pro' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-left',
'name' => __( 'Home - Middle Left', 'news-pro' ),
'description' => __( 'This is the middle left section of the homepage.', 'news-pro' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle-right',
'name' => __( 'Home - Middle Right', 'news-pro' ),
'description' => __( 'This is the middle right section of the homepage.', 'news-pro' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom',
'name' => __( 'Home - Bottom', 'news-pro' ),
'description' => __( 'This is the bottom section of the homepage.', 'news-pro' ),
) );NonTechieMemberHere is the code that I added in function.php
//* Reposition the footer
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
add_action( 'genesis_after', 'genesis_footer_markup_open', 11 );
add_action( 'genesis_after', 'genesis_do_footer', 12 );
add_action( 'genesis_after', 'genesis_footer_markup_close', 13 );NonTechieMemberYou are the best Braddalton,
One part (the footer) is full width now but the footer widget area is still not full width and there is white blank space between the site footer and footer widget area.
Can you please tell me how to make the widget area full width and remove the while blank area?
Thanks a lot
NonTechieMemberHi Braddalto
I am referring to both, the site footer and the footer widget area.
Thank you
Best
NonTechieMemberThe whole black stripe in the bottom of the pages/posts.
NonTechieMemberHi Braddalton,
I am using Genesis News Pro child them.
Thank
September 5, 2018 at 11:53 am in reply to: How to remove the header navigation menu internal linking? #222965NonTechieMemberThanks Victor Font,
Not sure it's the plugins. All the links are the ones that I have in the header Menue!
September 3, 2018 at 12:21 pm in reply to: How to remove the blank area and the grey lines in archive pages #222899NonTechieMemberHere is the code that used inside Archive.php to remove the content from the archive pages.
"<?php
/**
* This file adds a custom archive page to any Genesis child theme.
*
* @author Brad Dalton
* @example "http://wpsites.net/web-design/how-to-show-only-titles-on-archive-pages-in-genesis/"
* @copyright 2014 WP Sites
*///* Remove the breadcrumb navigation
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );//* Remove the post info
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );remove_action( 'genesis_entry_header','genesis_do_post_title' );
//* Remove the post content
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );//* Remove the post image
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );//* Remove the post meta function
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );genesis();`"
-
AuthorPosts