Site logo

Archived topic

glina - how can I change the MENU

5 replies · Started by Robert on September 19, 2021

Viewing posts 1–6 of 6

Hi

I work on my new website and I wanna ask how can I change the code, after I click on the MENU button, to have the menu like this:

- the MENU will be just 300px width (now its over the whole website)
- the links (Start, O nas, ect.) will have the text align to the right

Kr
Robert

Hi Robert,

I've tried checking the site but the link provided doesn't seem to be working. Can you check and verify if the URL is correct/active?

Let us know. :)

and now ?

Thx
R

Hi there,

try adding this CSS:

@media (min-width: 769px) {
    #masthead .inside-header {
        flex-direction: column;
    }
    #masthead #site-navigation {
        flex: 0 1 300px;
    }
    #site-navigation .main-nav li {
        text-align: right;
    }
}

it works - thx.

Glad to hear that!

This archived topic is closed to new replies.