Site logo

Archived topic

Mobile Menu Changes

14 replies · Started by Chris on May 17, 2017

Viewing posts 1–15 of 15

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?

http://i.imgur.com/FNjYOX0.jpg

2) How do I adjust the button at this size to look more normal and NOT fill the space?
http://i.imgur.com/4uvQFMf.jpg

3) How do I adjust the overall padding of the mobile menu?

4) How do I adjust the padding of the menu items?

http://gtg2107.giantishere.com

Hi Chris,

The link is not working for me. Can you double check?

That worked for the button. Thanks!

I'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;
    }
}

You'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;
    }
}

For some reason, the height of the button is still not changing. It will affect the width, but no the height.

Try: line-height: 15px;

No effect.

Change 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

Hmm 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?

I'll check.

That's the second time now. I'll check that first before posting. Thanks as always!

Glad we could help!

This archived topic is closed to new replies.