Community Forums › Forums › Archived Forums › Design Tips and Tricks › Using a custom logo with Modern Portfolio
Tagged: custom menu, header, Logo, modern portfolio
- This topic has 10 replies, 4 voices, and was last updated 11 years, 3 months ago by John.
-
AuthorPosts
-
August 8, 2013 at 7:33 am #54867Connor3193Member
Howdy all,
I'm hoping someone can help me out with a technical issue I'm experiencing with the Modern Portfolio theme...
I'm designing a website for a client and therefore require the use of a custom image logo. I've designed the logo that I want to use and have added it to the theme via Appearance > Header in the WordPress Dashboard. I've also disabled the Header Text and set the logo dimensions to exactly 1152 x 120 pixels so that it's displayed as-is.
Unfortunately, however, there seems to be a conflict with placing a Custom Menu in the Header Right widget area. When I add my custom logo the menu options no longer align in the center of the header area, but more towards the top. It's probably best taking a look to see what I mean: http://pbjltd.com
Can anyone help me?
I'd also be interested in increasing the height of the header to around 130-140 pixels if anyone can provide some advice or custom CSS to enable me to do that too.
Any help would be much appreciated, and I'd be happy to endorse anyone on Facebook/LinkedIn or send you a few bucks via PayPal if you manage to solve my problem.
Thanks in advance!
Connor 🙂
http://pbjltd.comAugust 8, 2013 at 10:39 am #54979RobinMemberThis reply has been marked as private.August 8, 2013 at 3:39 pm #55103JohnParticipantHey Connor,
This will go smoother if you follow this tutorial for the logo image: http://blackhillswebworks.com/2013/05/10/how-to-replace-the-studiopress-background-header-image-with-a-real-image-logo/
Then increase the header height and add some top margin to your menu widget area with this CSS, which you might need to tweak just a bit:
#header {min-height: 130px;} .widget-area.header-widget-area {margin-top: 20px;}
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉August 9, 2013 at 5:59 am #55195Connor3193MemberHey guys,
Thanks for your help Robin, but I don't think that's quite what I'm looking for as the menu still doesn't align properly. I do like the way the logo is mobile responsive though - so if John's solution doesn't solve the problem I'd be interested to learn a bit more about how you configured that. So thank you once again!
John - I'll try your tutorial today and let you know how I get on. Your solution goes into real depth - so thanks a lot for putting together such a detailed article!
Connor
August 9, 2013 at 6:22 am #55205Connor3193MemberHi John,
I really can't work out how to apply your tutorial to the Modern Portfolio theme. I think the default logo that comes with the Modern Portfolio theme is set up slightly differently and is therefore difficult to edit - unless you know exactly what you're doing. I'm fairly new to Genesis and CSS so I'm not 100% sure what I need to be doing.
I gave it a try and tried tweaking the CSS but can't get it to work so I had to reverse the changes I made. If I provided you with login details to my site would you be kind enough to take a quick look? No worries if not - it's just that I really can't see myself being able to work this one out!
Thanks again,
Connor 🙂
August 9, 2013 at 6:59 am #55212JohnParticipantHi Connor,
Yeah, I can give that a shot. I'm curious if there's something different going on with Modern Portfolio that would skew the results of the tutorial.
You can send the info to me using my contact form, and if you have the FTP info also that would make it much easier.
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉August 13, 2013 at 10:11 am #56090Connor3193MemberHi John,
Thanks for your help - my issue is resolved now.
Send me your LinkedIn details and I'll be happy to endorse you as a way of saying thanks! 😉
Connor
August 14, 2013 at 11:20 pm #56460brazeauMemberHi John.
I messed something up trying to follow the tutorial. My site is modernfirefighter.com, and I'm using the Outreach theme. Per the instructions I skipped step 1.
I did step 2. I added */ at the end of code in the "add support for custom header" code in functions.php.
I did step 3 by uploading my logo to my media library. I did have it titled logo.png.
I did step 4, but I think I did something wrong. I copied all the code you show in that section of the tutorial and pasted it at the end of code in the functions.php.
Then I updated the page. I did not get a chance to do the CSS edits or any of the other steps because my site would not load. I keep getting an error: "The website encountered an error while retrieving http://www.modernfirefighter.com/. It may be down for maintenance or configured incorrectly."
I tried to click back and change it back, but it would not update the page and now I can't get into my WP dashboard. I simply get the error page.
What did I do wrong, and more importantly, how do I fix it?
Thanks.
Brad
August 15, 2013 at 5:22 am #56507JohnParticipantHi Brad,
If you only added the */ at the end of the code, and didn't add the /* at the beginning of the code, then you're probably getting a PHP error. If that's the case then you won't be able to log in to your WordPress admin to do the fix in the Theme Editor. Instead you'll need to do it via FTP.
If you need help with that you can send the FTP login details to me using the contact form on my website.
John
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉August 17, 2013 at 6:40 pm #57107brazeauMemberHi John,
Thanks for the reply and offer of assistance. I got tied up and this is the first chance I've had to reply back. I was able to restore a backup from my host.
I will try the process again to load my logo and will make sure I add the */ at the beginning of the code too. Thank you for letting me know I missed that.
Brad
August 17, 2013 at 7:44 pm #57115JohnParticipantGood thing for backups! When you do try it, just make sure it's a /* at the beginning and not a */ ... the order does make a difference.
John Sundberg | blackhillswebworks.com
A WordPress developer’s toolbox: Firebug | WordPress Codex | Google 😉 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.