Mobile problem with logo

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
Fri Feb 24, 2017 7:28 pm
Reply with quote
Report this post
My website is www . casino - online . bz
Template override is enabled.

After the template upgrade from 3.15 to 3.21 version the logo goes on the right and creates a blank column. Furthermore the 888 top horizontal banner disappear. That happens only with smartphone or tablet vertical view. Desktop is ok.
On the old template version 3.15 everything was perfect.

Could you help me to let the logo and banner work as usual?
User avatar
Expert Boarder

teitbite
Mon Feb 27, 2017 8:01 pm
Reply with quote
Report this post
Hi

Do You have a backup of old site ? I'm sure we had changes done to some file. Would be easier to just copy the code back than to create it from scratch.
User avatar
Moderator

GK User
Tue Feb 28, 2017 4:17 pm
Reply with quote
Report this post
You are right. I forgot to replicate this code for the mobile.css file.
* Top */
#gkBannerTop {
max-width: 100%;
}
#gkLogo {
float: none;
margin-top: 10px;
margin-bottom:20px;
width: 100%;
}
#gkLogo img {
width: 100%;
}

Now it seems ok, except for when a user watch the website on a tablet vertically.
casinoonline.jpg

As you can see the banner goes over the logo, instead of going under the logo.
I think only a few people will watch my website vertically on a tablet. Anyway if you can solve it, then I would be happy, if you cannot then I will accept that layout.
User avatar
Expert Boarder

teitbite
Wed Mar 01, 2017 1:33 pm
Reply with quote
Report this post
Hi

Try add this to override.css

@media only screen and (max-width:1190px) and (min-width: 641px) {
#gkBannerTop {
width: 400px;
}
}
User avatar
Moderator

GK User
Wed Mar 01, 2017 4:20 pm
Reply with quote
Report this post
Just added the code, but it does not work.
User avatar
Expert Boarder

teitbite
Fri Mar 03, 2017 8:57 am
Reply with quote
Report this post
Hi

I cannot see the code in Your site. Maybe You need to clear cache or recreate compressions file.

Please send me an access to ftp, so I'll add it myself.
User avatar
Moderator

GK User
Fri Mar 03, 2017 6:25 pm
Reply with quote
Report this post
You are right I forgot to compress css again.
Now I decompressed and compressed css, cleared cache on joomla and cleared cache on browser.
Now I see the banner more little in the same row of the logo.
The banner cover a little part of the logo, but the banner does not go down under the logo as it is in the smarthpone.

No chance to put the banner under the logo?
User avatar
Expert Boarder

teitbite
Tue Mar 07, 2017 8:38 pm
Reply with quote
Report this post
Hi

Ok. Remove the code I gave You and use this instead.

Code: Select all
@media only screen and (max-width:1200px) {
#gkBannerTop {
    margin: 115px 0 0 !important;
}
}

@media only screen and (max-width:840px) {
#gkBannerTop {
    margin: 100px 0 0 !important;
}
}

@media only screen and (max-width:640px) {
#gkBannerTop {
    margin: 40px 0 0 !important;
}
}
User avatar
Moderator

GK User
Wed Mar 08, 2017 4:44 pm
Reply with quote
Report this post
Now, it is wonderful ;)
Thank you Teitbite.
User avatar
Expert Boarder

teitbite
Sun Mar 12, 2017 3:11 pm
Reply with quote
Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


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