another logo size change post

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jul 31, 2017 7:44 am
Reply with quote
Report this post
Hello,
I've looked through every logo size change post i can find, and the override code that gets me closest is:
Code: Select all
#gkLogo { height: 100px; width: 199px; }

However, as you can see (bairdmaritime.cloudaccess.host), it is still doing a weird thing where part of the logo overlaps the top lefthand corner of the page.
It is also giving too much space above and below (and pushing the banner ad up a bit), but i don't know if this is a separate issue or because of the overlap.
Any ideas? :)
User avatar
Fresh Boarder

GK User
Wed Aug 02, 2017 7:56 am
Reply with quote
Report this post
Can anyone help me?
User avatar
Fresh Boarder

teitbite
Wed Aug 02, 2017 9:53 am
Reply with quote
Report this post
Hi

Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#gkFixedMenu {
    top: -110px;
}

#gkFixedMenu #gkLogoSmall img {
    max-width: 100%;
}
User avatar
Moderator

GK User
Thu Aug 03, 2017 1:58 am
Reply with quote
Report this post
Thank you sir!

I also added max-height: 100% which shrinks the logo down to the correct height for the floating menu bar

so final for reference was:

Code: Select all
#gkLogo { height: 100px; width: 199px; }
#gkFixedMenu {
    top: -110px;
}

#gkFixedMenu #gkLogoSmall img {
    max-width: 100%; max-height: 100%
}
User avatar
Fresh Boarder

teitbite
Tue Aug 08, 2017 8:28 am
Reply with quote
Report this post
Hi

Yes, that's correct. Glad You've made it work. Closing this thread now.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.