Forum Replies Created
-
AuthorPosts
-
brockMember
Try adding this if statement inside the 'minimum_site_tagline' function in your functions.php file:
//* Add the site tagline section add_action( 'genesis_after_header', 'minimum_site_tagline' ); function minimum_site_tagline() { if ( !is_page('whateverpage') ) printf( '<div %s>', genesis_attr( 'site-tagline' ) ); genesis_structural_wrap( 'site-tagline' ); printf( '<div %s>', genesis_attr( 'site-tagline-left' ) ); printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) ); echo '</div>'; printf( '<div %s>', genesis_attr( 'site-tagline-right' ) ); genesis_widget_area( 'site-tagline-right' ); echo '</div>'; genesis_structural_wrap( 'site-tagline', 'close' ); echo '</div>'; }
brockMemberCould explain in more detail exactly what you are trying to do?
February 6, 2015 at 3:03 am in reply to: Bad rating for Genesis Framework / Page from Google Pagespeed Insight #139925brockMemberThat's my 2 cents but I know it's really not a satisfying answer. Hopefully someone will come along who can give a better explanation.
February 6, 2015 at 2:49 am in reply to: Bad rating for Genesis Framework / Page from Google Pagespeed Insight #139923brockMemberThe strange thing is that I compared Studiopress' site (which scored 57 on google insights) with a site that scored 70. The Studiopress site loaded faster in the old fashioned browser test. But my experiment could have been flawed in some way.
Google insights gives reasons for why it gives the score it does. But you have to know what all of that stuff means. What you are seeking is reassurance and I would think that Genesis would not be such popular framework if it had serious problems with pagespeed.
February 6, 2015 at 2:09 am in reply to: Adding More Categories on Primary Navigation Menu, without a second row #139920brockMemberDo you know exactly how many items you want to add? You are going to have to make changes to the CSS file.
If you are okay with using smaller font-size in the navigation menu then a font size of 12px will make room for about 6 menu items, depending on their text length. You won't have to make any changes to the padding.
.genesis-nav-menu { font-size: 12px }
If you want to make room for even more items you can change the padding and the width of the widget area. These changes allowed me to fit 8 items in there. (Keeping the font-size at 12px)
.site-header .widget-area { width: 770px; }
and
.genesis-nav-menu a { padding: 27px 10px; }
So add these changes to the bottom of your style.css file. Make a note that they are customizations. There needs to be some changes to the media queries as he said. I will see if I can get those for you but I have to run for now!
brockMemberI think it might be due to the fact that I am pulling in the blog page based on categories. I used this method:
Set the page template to 'blog'.
Set the custom fields:
query_args cat='id'
As I said, it does work for the search results (although it looks a little strange). I am now trying a different theme with the same result.
-
AuthorPosts