Center Logo at small screens

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
Wed Oct 03, 2012 1:14 am
Reply with quote
Report this post
Hello,

I want to center the logo on small screens.
I tried following code for small screens:

Code: Select all
#gkLogo.cssLogo {
    background-image: url("../images/logo_small.png");
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -6px;
    padding-bottom: 5px;
    width: 335px;
}


Please help
User avatar
Senior Boarder

GK User
Wed Oct 03, 2012 10:00 am
Reply with quote
Report this post
Please add this code to file tablet.css and mobile.css

Code: Select all
#gkLogo.cssLogo {float: none; margin: 0 auto}
User avatar
Platinum Boarder

GK User
Thu Oct 04, 2012 2:38 am
Reply with quote
Report this post
bkrztuk wrote:Please add this code to file tablet.css and mobile.css

Code: Select all
#gkLogo.cssLogo {float: none; margin: 0 auto}


Thank you mate, this worked quit well. Where can I read some information about how the css for the responsive gavick layout is working? I want to know, on which width mobile.css and table.css are loaded.

Thank you
User avatar
Senior Boarder

GK User
Thu Oct 04, 2012 9:45 am
Reply with quote
Report this post
Media queries you will find on framework files in lib/framework/helper.layout.php hope you can find proper part of code.
User avatar
Platinum Boarder


cron