Forum Replies Created
-
AuthorPosts
-
GladeMember
Just to add to this in case anyone is wondering, you can also change it to the following and it will auto adjust the size.
var windowHeight = $( window ).height() - 400;
Play with the -400 number until you achieve the height you want.
This is in the font-page.js file.
GladeMemberHey, thanks for the reply. I figured out how to do even increments, like 50/50, but i've yet to figure out how to do a 60/40 or 70/30 layout. I'm not sure how to do this if the widget widths are different.
GladeMemberNever mind...logo still does not link. Back to the drawing board.
GladeMemberThanks for the offer of help! I ended up figuring this out...after a llllllllooooootttt of work. The header function in WordPress is not made for adding logos that link to the home page. Most of the newer (or updated) Genesis themes use the new appearance > header function, but it's not optimal. The new themes, like the updated executive theme that i'm using does not have the option to use Dynamic Text or a Logo in the Genesis settings. Long story short, there are some significant problems with the header image function if you can't add a link to the logo, which 99% of people are going to want to to. I'd also estimate that a very large portion of web developers do not use dynamic text in their header, they are nearly all going to use a logo. This should be easier in Studiopress themes.
Here is how I fixed my issue in the executive theme.
Remove or comment out this code from your functions.php file:
/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array( 'width' => 1140, 'height' => 100 ) );Add this code to your functions.php file:
/** Remove Title */
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
/** Remove Description */
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );Then change your CSS file #header section from this:
#header { margin: 0 auto; min-height: 100px; width: 100%; }To this:
#header { margin: 0 auto; min-height: 100px; width: 100%; background: url("images/logo.png") left no-repeat; }That worked for me.
GladeMemberThanks for the offer of help! I ended up figuring this out...after a llllllllooooootttt of work. The header function in WordPress is not made for adding logos that link to the home page. Most of the newer (or updated) Genesis themes use the new appearance > header function, but it's not optimal. The new themes, like the updated executive theme that i'm using does not have the option to use Dynamic Text or a Logo in the Genesis settings. Long story short, there are some significant problems with the header image function if you can't add a link to the logo, which 99% of people are going to want to to. I'd also estimate that a very large portion of web developers do not use dynamic text in their header, they are nearly all going to use a logo. This should be easier in Studiopress themes.
Here is how I fixed my issue in the executive theme.
Remove or comment out this code from your functions.php file:
/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array(
'width' => 1140,
'height' => 100
) );Add this code to your functions.php file:
/** Remove Title */
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
/** Remove Description */
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
Then change your CSS file #header section from this:
#header {
margin: 0 auto;
min-height: 100px;
width: 100%;
}To this:
#header {
margin: 0 auto;
min-height: 100px;
width: 100%;
background: url("images/logo.png") left no-repeat;
}That worked for me.
-
AuthorPosts