Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I place a small logo in Agency's header?
Tagged: Logo
- This topic has 10 replies, 4 voices, and was last updated 11 years, 1 month ago by jlo2013.
-
AuthorPosts
-
January 28, 2013 at 10:42 am #15578devParticipant
Brand new to Genesis. Been suing Elegant for quite a while.
I have a small square logo I want to put in the header of Agency Theme.
Sure I could create a 940x115 header with it, but I don't want to do that right now. I just want the small logo (like Metric theme has) in the top, left of the header area.
I upload the small logo and try to put in using the "header" screen and it want me to crop it... which then creates a 940x15 pixalated version of what is cropped.
Is there any way to just get this little logo up there without jumping trough a lot of hoops? I can mess with code if necessary... but really... for a logo? Elegant Themes makes this so easy!
Any suggestions from this community is gratefully appreciated.
January 28, 2013 at 1:47 pm #15627Brad DaltonParticipantYou can change the height of your header to match your logo by editing the code in your child themes functions.php and style.css files.
Line 26 functions.php
/** Add support for custom header */ add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 115 ) );
Or you can add your logo to a transparent background using a tool like Paint,net or GIMP and make it the same height as your header default is.
January 28, 2013 at 1:55 pm #15640Brad DaltonParticipantYou can also edit this code as well.
/* Image Header - Partial Width ------------------------------------------------------------ */ .header-image #title-area, .header-image #title, .header-image #title a { display: block; float: left; height: 115px; overflow: hidden; padding: 0; text-indent: -9999px; width: 350px; }
January 28, 2013 at 1:57 pm #15647devParticipantThanks for the info.
Is it the height of the logo or is it the width that is telling Genesis/WP "Hey, you need to crop this thing?"
You know what would be good? It would be good to have a "header-left" widget area. They give us a header-right area , so why there no a "left?" That way we could dump anything we want into the area via Genesis-Featured-Page/Post widget. (Is there a Featured-Image plugin? I think there is somewhere.)
Oh well, I doubt my wish is Genesis's command! I'll play with the code or the CSS and see what I can do to get my little 2 inch x 1 inch logo to display.
January 28, 2013 at 2:10 pm #15655Brad DaltonParticipantThere's a featured post and page widget.
You can see from the default CSS above that there's an area 350px by 115px for a logo. You can upload an image that size or change the values in the code which is pretty easy.
They like to keep the code as efficient as possible which is why there's not as many widgets for everything as some themes provide like Prose.
January 28, 2013 at 9:09 pm #15869tavismeParticipantUsing the Agency theme I was not successful uploading a logo either. I ended up creating a 960 x 115 header with a transparent background. That work around worked fine.
January 29, 2013 at 10:18 am #15981jlo2013MemberHi I ave the theme “Agency” . I have made some changes in the CSS the logo area is not as wide as before however the menu is still under the logo.. when I look at:
http://demo.studiopress.com/agency/
the menu is next to the logo.=As I want it
On my site I can see: div wrap 960 x 31 whish is the height of the menulinks
On the demo site I see: div wrap 960 x 0 so, the menu is not placed in that div tag. How do I change that?
Thanks!
// Johanna
January 29, 2013 at 4:06 pm #16147Brad DaltonParticipantAre you using the custom menu in header right widget area?
Can you link to your site please.
January 30, 2013 at 2:29 am #16344jlo2013MemberYes, but it seems they are in different divs or wraps.. here is my link: http://bbstockholmfamily.se/test/
// Johanna
January 30, 2013 at 2:41 am #16345jlo2013MemberIf I use the titel instead of a logo it works, however I want to use the logo.
March 26, 2013 at 2:17 pm #31402jlo2013MemberI have resolved it.
// Jo
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.