Site logo

Archived topic

How to have a seperate primary navigation menu?

9 replies · Started by roy on July 7, 2022

Viewing posts 1–10 of 10

If you see on the desktop view of my site, at the top it says "Call a local Technician" but on mobile, it cuts it off and puts "Menu" there, I'd like it toonly show the "Call a local tech" part of it on mobile to make it easier, how would I be able to do this?

I did that but now it's not showing up properly on mobile, I'd like to remove the "Menu" all together on mobile, is that possible?

Ok, that worked! Now, would it be possible to adjust the button, maybe center it on the mobile view?

Thanks so much for the help, :)

Hi Roy,

To center the button horizontally, here’s a CSS you may try adding through Appearance > Customize > Additional CSS:

@media (max-width: 768px) {
    .menu-bar-items {
        width: 100%;
        justify-content: center;
    }
}

Kindly let us know how it goes.

Is there anyway to get it on one line?

It wraps at around screen sizes smaller than 315px. We can try reducing the font-size with this CSS to avoid this:

@media (max-width: 314px) {
    .gb-button-wrapper.gb-button-wrapper-2c79f5bd a {
        font-size: 13px;
    }
}

Hey Fernando,

Sadly that didn't work for me :(

I did change the width to 25%, so now it looks like it does.

Can we somehow get it all on one line without breaking anything?

Also, curious how we can move this button on desktop as well as mobile so there is still some red on the right side of the button so it doesn't look like it's smashed against the right side?

So sorry about all of this!!

Right now, it’s only wrapping in two line on mobile. Try changing the font size for the button on mobile view. Example: https://share.getcloudapp.com/JruomLwY

Then, for your second inquiry, you can add Margins in the spacing section of the block settings of your Button.

Hope this helps!

This archived topic is closed to new replies.