Mobile view Logo size + social icons problem

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 Jul 21, 2013 6:52 pm
Reply with quote
Report this post
This is screenshot of my site from my iphone...
mobile-view.jpg


I need to make my logo smaller. I think the best way is to put some css code in mobile.css...
I would like to have logo+search+login+social icons in one row. What should I do? Change some parts of template layout, update css styles???

Thanks for help :-)
User avatar
Senior Boarder

GK User
Mon Jul 22, 2013 9:37 am
Reply with quote
Report this post
User avatar
Moderator

GK User
Mon Jul 22, 2013 10:43 am
Reply with quote
Report this post
yes
User avatar
Senior Boarder

GK User
Mon Jul 22, 2013 5:38 pm
Reply with quote
Report this post
Please read first about adding custom CSS:
http://www.gavick.com/documentation/joo ... -template/

You could use override.css and define so called media queries, for example:
Code: Select all
@media all and (max-width: 800px) {
  #gkLogo img {
    width: 80%;
  }
}

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

This way logo width for browsers with width less than 800px will be 80%, for less than 600px 60% etc.

The other thing You should do is:
Code: Select all
#gkSocial {margin-top: 24px; clear: none;}

and this code will keep all items in one line as long as they fit.
User avatar
Moderator


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