Forum Replies Created
-
AuthorPosts
-
elaine_sMember
Thanks Christoph
I gave it another try and what worked was changing the dimensions to accept a bigger logo in functions.php per your instructions, but my theme did not have the dimensions in but one selector in the css; therefore did not require changing any css.FYI, what finally worked for me was saving my hi-res 2x logo with the same name as 'cropped-2xlogo.png' which the customizer forced on it, and uploading the hi-res to the 'uploads' folder using ftp. In other words, fooling and bypassing the customizer completely.
thanks for your help!
September 13, 2015 at 6:16 pm in reply to: Custom Widgets – Side by Side (in same full=width section) #165376elaine_sMember@braddalton OK that works! Thanks so much!!!
September 12, 2015 at 4:11 pm in reply to: Custom Widgets – Side by Side (in same full=width section) #165312elaine_sMember@braddalton - thanks. Again, that took care of getting rid of the left and right sidebars on subpages and posts, but did not target getting rid of the 'bottom-sidebar' on subpages and posts. 'bottom-sidebar' is still showing on front page, and every other page and post. I just want it on the home page. Here is the code:
//* Hook split sidebar and bottom sidebar widget areas below primary sidebar
add_action( 'genesis_after_sidebar_widget_area', 'beautiful_extra_sidebars' );
function beautiful_extra_sidebars() {
if ( is_front_page() )if ( is_active_sidebar( 'split-sidebar-left' ) || is_active_sidebar( 'split-sidebar-right' ) ) {
echo '<div class="split-sidebars">';
genesis_widget_area( 'split-sidebar-left', array(
'before' => '<div class="split-sidebar-left" class="widget-area">',
'after' => '</div>',
) );
genesis_widget_area( 'split-sidebar-right', array(
'before' => '<div class="split-sidebar-right" class="widget-area">',
'after' => '</div>',
) );echo '</div>';
}
genesis_widget_area( 'bottom-sidebar', array(
'before' => '<div class="bottom-sidebar" class="widget-area">',
'after' => '</div>',
) );}
September 11, 2015 at 9:05 am in reply to: Custom Widgets – Side by Side (in same full=width section) #165219elaine_sMember@braddalton thank you, I was able to remove the split sidebars using the code you provided, but cannot figure out how to remove the bottom sidebar also; it still stubbornly appears on every page (again, I want it on home page) - cannot write the php, here is the code so far:
//* Hook split sidebar and bottom sidebar widget areas below primary sidebar
add_action( 'genesis_after_sidebar_widget_area', 'beautiful_extra_sidebars' );
function beautiful_extra_sidebars() {if ( is_front_page() AND is_active_sidebar( 'split-sidebar-left' ) || is_active_sidebar( 'split-sidebar-right' ) ) {
echo '<div class="split-sidebars">';
genesis_widget_area( 'split-sidebar-left', array(
'before' => '<div class="split-sidebar-left" class="widget-area">',
'after' => '</div>',
) );
genesis_widget_area( 'split-sidebar-right', array(
'before' => '<div class="split-sidebar-right" class="widget-area">',
'after' => '</div>',
) );echo '</div>';
}
genesis_widget_area( 'bottom-sidebar', array(
'before' => '<div class="bottom-sidebar" class="widget-area">',
'after' => '</div>',
) );}
September 10, 2015 at 4:49 pm in reply to: Custom Widgets – Side by Side (in same full=width section) #165170elaine_sMember@braddalton, I am using the Genesis split sidebars on the home page as instructed in Beautiful theme tutorial.
However, now the split sidebars appear on every post and page, below the specific Genesis Simple Sidebars I have running on these different pages and posts. How can I get the split sidebars to only appear on the Home Page (and not populate everything else). -
AuthorPosts