• Hi , I need to move my main menu to right my website is
    mosmem.com

    the menu move automatic to right if i add more links to the menu but i dont need any links i just need to move it to right about 100 or 200 px
    how i can do that ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I think you are looking for “margin-left”. I would recommend applying it to .ownmenu. You can use px or %. Percent will adjust to different screen sizes better. So maybe:

    .ownmenu {
    margin-left:10%;
    }

    But, don’t forget to remove this margin on smaller devices. I see that your CSS file has this.

    @media(min-width:768px) and (max-width:991px) {
    ....
    }

    So you might want to use that same break point. Like this:

    @media screen and (max-width: 991px) {
      margin-left:0;
    }

    Otherwise your navigation bar will move off the right side of the screen on mobile devices. Good luck.

    Thread Starter josedone

    (@josedone)

    thanks for your help ?? , but my knowledge is little about css so how can I use this code ??

    Thread Starter josedone

    (@josedone)

    Do you mean use it in CSS Editor ? I will try thanks ??

    Thread Starter josedone

    (@josedone)

    Thanks a lot its working perfectly you are awesome ??

    Glad it worked. You did it right but if you want to make using CSS a little easier you might want to install a custom CSS plugin. They are super handy. Then you would just open the plugin and paste in your CSS for anything in the future. Have fun!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I need to move main menu to right’ is closed to new replies.