Christmas Background for #gkMainMenu margin 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
Mon Dec 22, 2014 7:04 am
Reply with quote
Report this post
Hi, I took the freedom to borrow your banner design for christmas.

I've applied this CSS to my #gkMainMenu, It works fine except there is a margin on the left and right that I cannot get rid of.

Code: Select all
/* Christmass background pattern */

#gkMainMenu {
       background: #8bc6fe url('../images/xmas-bar.png') repeat-x center top;
         color: #fff;
   font: 400 18px/67px 'RobotoDraft', serif;
   height: 52px;
   text-align: center;
   text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
}



See the picture in attachment for the problem...

After inspecting the CSS on the front end with a browser tool, it looks like changing this CSS solved the problem, but once added to the CSS override it fails to affect the object:

Code: Select all

.frontpage .gkPage, #gkTop .gkPage {
max-width: 1400px;
}

Changing to:

.frontpage .gkPage, #gkTop .gkPage {
max-width: 1420px;
}



Thank you.
Regards
User avatar
Platinum Boarder

GK User
Mon Dec 22, 2014 7:29 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon Dec 22, 2014 7:33 am
Reply with quote
Report this post
Yes sorry I forgot:

http://www.quebecguitare.ca/profs

Apologies
User avatar
Platinum Boarder

GK User
Mon Dec 22, 2014 8:29 am
Reply with quote
Report this post
Instead of
Code: Select all
#gkMainMenu

please add the styling to:
Code: Select all
#gkTop

element
User avatar
Moderator

GK User
Mon Dec 22, 2014 8:41 am
Reply with quote
Report this post
Great it worked!

Thanks
User avatar
Platinum Boarder

GK User
Mon Dec 22, 2014 1:27 pm
Reply with quote
Report this post
No problem.
Merry Christmas :)
User avatar
Moderator


cron