Mobile logo

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
Sun Aug 11, 2013 10:45 am
Reply with quote
Report this post
Hi!

I've been searching on css and template options, but I can't find where to add a different logo for mobile versions.

I'm using the 'Image' type, but I think that if I want to use a second logo for mobile versions, I will have to use 'CSS' type, am I right?

Well, if I'm going to use @media queries, where do I have to put them? If I put them in override.css, will I be able to manage both logos from there?

Is there another way to do that?

Thank you guys!
User avatar
Expert Boarder

GK User
Sun Aug 11, 2013 10:53 am
Reply with quote
Report this post
Placing media queries in override.css, specially if You would like to use different logo for mobile version is best option available.
Also logo type must be set to css type so You can change it with override.css.
User avatar
Moderator

GK User
Wed Aug 14, 2013 5:54 pm
Reply with quote
Report this post
Thanks! It works great. If someone wants to know, after setting logo to css type, place this code in override.css:

Code: Select all
#gkLogo.cssLogo {
  background: transparent url('../[path]/logo.png') no-repeat 0 0;
  height: 137px;
  width: 254px;
}

@media all and (max-width: 580px) {
    #gkLogo.cssLogo {
    background: transparent url('../[path]/mobile_logo.png') no-repeat 0 0;
    height: 65px;
    width: 120px;
  }
}


Of course, change height and width to fit your logo.
User avatar
Expert Boarder

GK User
Wed Aug 14, 2013 7:33 pm
Reply with quote
Report this post
Regarding mobile adaptations, in the home page, those thumbnails are smaller in the mobile version, but the text just disappears when thumbnails are too small. Where can I adapt the text size?

Thanks!
User avatar
Expert Boarder

GK User
Sat Aug 17, 2013 10:57 am
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Mon Aug 19, 2013 4:08 pm
Reply with quote
Report this post
It doesn't mind. I've changed module mode from News Blocks to Product Gallery 2 (which have some labels without legible text, btw...).

This module mode adapts much better to resizing :)

Thanks!
User avatar
Expert Boarder

GK User
Mon Aug 19, 2013 7:32 pm
Reply with quote
Report this post
I'm glad You could resolve it on your own.
If You will have any other questions, feel free to create new threads.
User avatar
Moderator


cron