Logo size mobile

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Aug 12, 2014 1:30 pm
Reply with quote
Report this post
Hi,

On http://www.folkert.it/rmf/ i have 2 logo's. The first one is bigger, its shown when you enter the page (logo.png).

The second one is a bit smaller (logo_negative.png), you can see this when scrolling down.

Now when i look on my mobile, the logo doesn't fit. Where can i change this?

I tried to look in mobile.css. Strange thing is, when i edit or even remove mobile.css, this has no effects on how the website is being displayed on my mobile (i deleted cache/history). Why is that?

thx
User avatar
Expert Boarder

GK User
Tue Aug 12, 2014 6:54 pm
Reply with quote
Report this post
Please edit: /templates/gk_cloudhost/css/override.css and add at its end:
Code: Select all
@media (max-width:620px) {
.imageBg #gkLogo.cssLogo {
margin-right: 0px;
max-width: 80%;
background-size: 100%;
}
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Thu Aug 14, 2014 9:42 pm
Reply with quote
Report this post
Thanks Cyberek,

This works fine for the first page (homepage) on mobile, but the other pages still have a logo thats to big.

I guess its something with

#gkLogo.cssLogo, #gkMenuWrap #gkLogo.cssLogo {

I would prefer that the logo (and menu) would look the same on all mobile pages.

Thanks again!
User avatar
Expert Boarder

GK User
Mon Aug 18, 2014 9:46 am
Reply with quote
Report this post
Ok, please replace css code with:
Code: Select all
@media (max-width:620px) {
    #gkLogo.cssLogo {
        margin-right: 0px;
        max-width: 80%;
        background-size: 100% !important;
    }
}

You are also missing one closing '}' in your current override.css
User avatar
Moderator

GK User
Mon Aug 18, 2014 1:43 pm
Reply with quote
Report this post
thanks that works.

Without that missing closing } is did change the css, but i added it to be sure!
User avatar
Expert Boarder

GK User
Mon Aug 18, 2014 5:07 pm
Reply with quote
Report this post
It should work fine right now, but missing closing "}" might cause problems if you would decide to add additional definitions to override.css. There must be always one "}" for each "{" before it.
User avatar
Moderator

GK User
Mon Aug 18, 2014 7:03 pm
Reply with quote
Report this post
ok thanks for help en tip!
User avatar
Expert Boarder


cron