How to change the mobile logo in inStyle template

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 26, 2015 2:24 am
Reply with quote
Report this post
Hello, I'm using: Instyle for Joomla 3.x...
on my mobile device, the logo seem to extend to the far right...there isn't an option in the template in the backend to set logo for mobile devices...
Tried to look int mobile.css, small.desktop.css, small.tablet.css
like sugestion in this post: https://www.gavick.com/forums/instyle-j ... le#p196968

but don't know where in the code to change...

even change the overide.css, but doesn't work:
@media(max-width: 320px) {
#gkLogo.cssLogo {
width: 240px !important;
background-size: 100% !important;
}
}


please advise, thank you & God bless
User avatar
Junior Boarder

GK User
Mon Jan 26, 2015 5:17 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon Jan 26, 2015 6:40 pm
Reply with quote
Report this post
Cyberek wrote:Could you please post an url to your site?


http://debidesign.com/msmcatholic/
User avatar
Junior Boarder

GK User
Tue Jan 27, 2015 6:37 pm
Reply with quote
Report this post
Try adding this code at the top of the override.css:
Code: Select all
#gkLogo img {max-width: 100%}
@media (max-width: 1040px) {
    #gkLogo img {max-width: 80%}
    #gkMobileMenu {margin-top: 0px !important;}
    #gkTopNav {display: none;}
    #gkHeader > div:first-child {
        min-height: inherit;
    }
}
User avatar
Moderator

GK User
Sat Jan 31, 2015 7:48 pm
Reply with quote
Report this post
thank you, that works ok...it decreases the logo to fit the size of the screen...making quite small & out of proportion for the design...is there a way to choose a different image for the mobile device? Like the setting for "Touch devices image" in the template backend?

Thank you for the quick response...God bless.

Cyberek wrote:Try adding this code at the top of the override.css:
Code: Select all
#gkLogo img {max-width: 100%}
@media (max-width: 1040px) {
    #gkLogo img {max-width: 80%}
    #gkMobileMenu {margin-top: 0px !important;}
    #gkTopNav {display: none;}
    #gkHeader > div:first-child {
        min-height: inherit;
    }
}
User avatar
Junior Boarder

GK User
Mon Feb 02, 2015 7:52 pm
Reply with quote
Report this post
You can use media queries to set another image, even it's size in override.css for mobile devices (max width of the screen). But to do so you would need to use css logo instead of image one.
User avatar
Moderator


cron