- This topic has 14 replies, 3 voices, and was last updated 6 years, 10 months ago by Leo.
-
AuthorPosts
-
May 17, 2017 at 10:03 pm #319570Chris
Okay. The site is coming right along.
1) As the menu becomes mobile, what can I do to differentiate between the top of the menu and the content?
2) How do I adjust the button at this size to look more normal and NOT fill the space?
3) How do I adjust the overall padding of the mobile menu?
4) How do I adjust the padding of the menu items?
May 17, 2017 at 10:56 pm #319595LeoStaffCustomer SupportHi Chris,
The link is not working for me. Can you double check?
May 17, 2017 at 11:48 pm #319625TomLead DeveloperLead DeveloperIs this the site?: http://gtg2017.giantishere.com/
If so, the mobile menu has a shadow to separate it, and the navigation search looks good: https://www.screencast.com/t/P2lT5jAS
As for the button, try this:
@media (max-width: 768px) { .button.gtg-btn-red-header a { display: inline-block; } }
May 18, 2017 at 7:32 am #319969ChrisThat worked for the button. Thanks!
May 18, 2017 at 7:40 am #319981ChrisI’ve added this code to decrease the buttons padding in the mobile menu but it doesn’t seem to be sticking for some reason.
.button.gtg-btn-red-header a, .button.gtg-btn-red-header a:visited { color: #ffffff !important; background-color: #CF0A2C !important; padding: 6px 12px !important; margin: -15px -10px 0 -10px !important; border-radius: 12px !important; } .button.gtg-btn-red-header a:hover, .button.gtg-btn-red-header a:active { background-color: #97021c !important; color: #ffffff !important; } @media (max-width: 768px) { .button.gtg-btn-red-header a { display: inline-block; padding: 3px 7px !important; } }
May 18, 2017 at 9:00 am #320072TomLead DeveloperLead DeveloperYou’d have to do this:
@media (max-width: 768px) { .button.gtg-btn-red-header a, .button.gtg-btn-red-header a:visited { display: inline-block; padding: 3px 7px !important; } }
May 18, 2017 at 9:06 am #320077ChrisFor some reason, the height of the button is still not changing. It will affect the width, but no the height.
May 18, 2017 at 9:15 am #320096TomLead DeveloperLead DeveloperTry:
line-height: 15px;
May 18, 2017 at 10:14 am #320146ChrisNo effect.
May 18, 2017 at 12:49 pm #320252TomLead DeveloperLead DeveloperChange this selector:
.button.gtg-btn-red-header a, .button.gtg-btn-red-header a:visited
To:
.main-navigation .main-nav ul li.button.gtg-btn-red-header a, .main-navigation .main-nav ul li.button.gtg-btn-red-header a:visited
June 4, 2017 at 7:32 pm #328586ChrisJust wanted to let you know I’ve tried this and it seems to have no effect.
http://gtg2017.giantishere.com/contact-forms/newsletter-signup/
Thanks!
June 4, 2017 at 7:54 pm #328588LeoStaffCustomer SupportHmm don’t see the CSS being executed. Everything is still triggering at 768px.
Any chance there are syntax errors above the code you’ve added that stops this CSS from being executing?
June 4, 2017 at 8:24 pm #328591ChrisI’ll check.
June 4, 2017 at 8:31 pm #328592ChrisThat’s the second time now. I’ll check that first before posting. Thanks as always!
June 4, 2017 at 10:31 pm #328618LeoStaffCustomer SupportGlad we could help!
-
AuthorPosts
- You must be logged in to reply to this topic.