Top Banner Full Size

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
Tue Dec 15, 2015 9:33 am
Reply with quote
Report this post
I have a problem with the top banner.
The side width is 1150 px. If I use a banner with the same width, I have a overflow on the right side, and a space on the left side. What can I do, to have the banner left-aligned, and the banner shown over the hole side width?

Image
In the mobile view, I have the problem with the space on top.
Image
http://www.lauenburger-online-zeitung.de/
Thnaks for your help!
User avatar
Junior Boarder

teitbite
Sat Dec 19, 2015 11:04 am
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#gkTopBanner {
    margin: 0;
}

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

GK User
Sat Dec 19, 2015 7:38 pm
Reply with quote
Report this post
Teitbite, thanks for your help.
The first code works fine, unfortunately is in the mobile version still the top space.
User avatar
Junior Boarder

teitbite
Tue Dec 22, 2015 12:27 pm
Reply with quote
Report this post
Hi

Where have You placed this code? I cannot see it on Your site. Please send me an access to joomla panel so I'll try it myself.
User avatar
Moderator


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