Forum Replies Created
-
AuthorPosts
-
Yes but if I want to customize the background color etc as well I have to use custom body class right?
Why won’t addingif ( is_archive()) work?-
This reply was modified 1 week, 1 day ago by
genevishgraphics.
-
This reply was modified 1 week, 1 day ago by
genevishgraphics.
I have another question, and I am looking at your website for the answer but cant find it. I am adding a custom body class to my blog page, so I have have an alternate header image for the blog page- BUT I need that alternate image to be on all the blog posts and category pages as well. This would be a conditional tag issue again, I am using this
// Add custom body class to the head add_filter( 'body_class', 'minimum_add_body_class' ); function minimum_add_body_class( $classes ) { $classes[] = 'page_blog'; if(is_archive() ) { return $classes; } }and now the correct header is there on the blog page, but it is duplicated with the other site header, and the post and category pages only have the old header instead of the “blog” header
Of course! Why didnt I think of that??
Thanks Brad!NM – got it – Just added the plugin and entered in !is_page(‘blog’) and now the left header is on all my pages but the blog pages
that is what I am struggling with – What is the right conditional tag? to only exclude the blog pages? Thanks for your help brad. I’m learning!
One question – how would I remove this widget ONLY from the custom blog template I have created?
Yippeee thanks Brad!!!
NM – Stupid old css code I had left in there!
Any ideas of how I can get the primary sidebar widget to display in the correct place now?
I have the header right where I want it and the nav below that. However now my social icons that are in the primary sidebar are getting pushed to the right of the sidebarThis is the code I am using to get things to finally work- courtesy of http://www.carriedils.com/
I just changed the actions to where I wanted the header to go/** Move header */ remove_action( 'genesis_header', 'genesis_header_markup_open', 5 ); remove_action( 'genesis_header', 'genesis_do_header' ); remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ) ; add_action( 'genesis_before_sidebar_widget_area', 'genesis_header_markup_open', 5 ); add_action( 'genesis_before_sidebar_widget_area', 'genesis_do_header' ); add_action( 'genesis_before_sidebar_widget_area', 'genesis_header_markup_close', 15 ); /** Move primary nav menu */ remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_after_sidebar_widget_area', 'genesis_do_nav' );I got it – tinkering for awhile – but I think I have it!
So wow – I have made som progress. I have figured out how to move the nav to the sidebar using
/** Move primary nav menu */ remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_sidebar', 'genesis_do_nav' );and it works great!
However, after applying the same steps to the header using this/** Move header */ remove_action( 'genesis_header', 'genesis_do_header' ); add_action( 'genesis_before_sidebar_widget_area', 'genesis_do_header' );The only thing that gets moved to the sidebar is the title-area div, and the header div is still above the inner div.
It is probably something simple, I know it is something I am missing here. Any helpers out there? Thanks!
Site hereI did – no dice…yet. Maybe someone will help me out before the next version of genesis!!

But I will keep working at it to see what I can do on my own! Love Genesis!You have conflicting css for the headers – in one place you have Marcellus and the other you have Julius Sans
h2, h2 a, h2 a:visited, h3, h4, h5, h6 p, select, textarea { color: #000000; font-family: ‘Marcellus’, serif;h1, h2, h2 a, h2 a:visited, h3, h4, h5, h6 { color: #000ff; font-family: ‘Julius Sans One’, sans-serif; font-weight: bold; line-height: 1.25; margin: 0 0 10px; }-
This reply was modified 1 month, 2 weeks ago by
genevishgraphics.
-
This reply was modified 1 month, 2 weeks ago by
genevishgraphics.
Double check your changes- When I visit the site I see css on line 193:
#header {
margin: 0 auto;
min-height: 100px;
width: 100%;
So you have to go back in and check that line of code – I suggest using Developer Tools in Chrome to check your css of the pages you work on
Hope this helps!
I removed the
add_action( ‘genesis_loop’, ‘minimum_grid_loop_helper’ );
function minimum_grid_loop_helper() {if ( function_exists( ‘genesis_grid_loop’ ) ) {
genesis_grid_loop( array(
‘features’ => 0,
‘feature_image_size’ => ‘featured’,
‘feature_image_class’ => ‘post-image’,
‘feature_content_limit’ => 0,
‘grid_image_size’ => 0,
‘grid_image_class’ => ‘alignnone’,
‘grid_content_limit’ => 250,
‘more’ => __( ‘[Read more]‘, ‘minimum’ ),
) );
} else {
genesis_standard_loop();
}}
from home.php and that did the trick – wrong method?
-
This reply was modified 1 week, 1 day ago by
-
AuthorPosts