Logo Size on 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
Mon Sep 02, 2013 7:02 am
Reply with quote
Report this post
I have added logo to this site that is 500px wide but this does not resize enough on the mobile display to fit on the screen. Under some circumstances this seems to break the display.

http://www.milkfashions.com.au

any idea on how to resize this in the mobile display?

Cheers
User avatar
Expert Boarder

GK User
Mon Sep 02, 2013 11:34 am
Reply with quote
Report this post
I would suggest to use media-queries in override.css to set element width to smaller when browser reach any of given steps (can be checked in header source codue).
User avatar
Moderator

GK User
Mon Sep 02, 2013 11:44 am
Reply with quote
Report this post
Thanks, I get what you mean, but have no idea of the css to restrict this just to the mobile logo.

Any ideas?
User avatar
Expert Boarder

GK User
Wed Sep 04, 2013 3:37 pm
Reply with quote
Report this post
Code: Select all
@media all and (max-width: 800px) {
  #gkLogo {
    width: 80%;
  }
}

@media all and (max-width: 600px) {
  #gkLogo {
    width: 60%;
  }
}


You can use it in override.css.
For specific sizes to use with max-width, You can view sites source and search for css are being included with use of that particular media-query.
User avatar
Moderator

GK User
Fri Sep 06, 2013 4:57 am
Reply with quote
Report this post
Thanks for you help :) Got it and learnt a little more css in the process. :)
User avatar
Expert Boarder

GK User
Sat Sep 07, 2013 10:03 am
Reply with quote
Report this post
Its always best if You learn something new while doing usual stuff ;).
User avatar
Moderator


cron