Reduce the size of my logo on mobile phone

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 Jan 12, 2015 7:50 pm
Reply with quote
Report this post
Hello,

I would like you help me for 2 things:

1 - reduce the size of my logo on mobile phone. I feel that the logo is not responsive.

I tried to modify these lines in the mobile.css but it has no effect:

@media only screen and (max-width: 320px),....
#gkMainbody table {
width: 260px!important;
}
}

@media only screen and (max-width: 480px)...
#gkMainbody table {
width: 420px!important;
}
}


2 - I would like the site is displayed in full on mobile phones.

Thank you in advance here is the link:
http://www.dakarmusique.com
User avatar
Senior Boarder

GK User
Tue Jan 13, 2015 7:41 am
Reply with quote
Report this post
Could yo please be more precise on "the site is displayed in full on mobile phones"?
User avatar
Moderator

GK User
Tue Jan 13, 2015 7:43 am
Reply with quote
Report this post
To set the logo in correct way please edit: /templates/gk_game/css/override.css and add at its end:
Code: Select all
@media(max-width: 320px) {
   #gkLogo.cssLogo {
      width: 240px !important;
      background-size: 100% !important;
   }
}

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

GK User
Tue Jan 13, 2015 4:49 pm
Reply with quote
Report this post
Hello,

Thank you for your help, it's good for reducing the size of the logo.
To the second question I would like the site to display on mobile phones just like the desktop. So the width occupies 100% of the phone. Currently, the sidebar is on the bottom of the page.

I apologize for the bad English because it is the translated French.

Thank you in advance
User avatar
Senior Boarder

GK User
Tue Jan 13, 2015 7:43 pm
Reply with quote
Report this post
Behave of the site is called RWD - responsive web design - it makes the content to rearrange to present best on small screens.
Presenting "desktop" version of mobile is currently one of the worst idea to do.
User avatar
Moderator


cron