How to display logo on right of page and menu on left side?

Problem
How to display logo on right of page and menu on left side and leave space 5 px from every side ?
on current case fiddle it show logo on left and menu on right so that i need to reverse
meaning i need logo on right and menu on left and leave space from right and left of page 5px

desired result what i need is below image :slight_smile:

I believe I gave you an example in your previous thread?

You would just remove the flex:1 0 0 from the menu to make it not stretch.

The margin-left auto on the logo pushes it to the right and then you can add a left margin as required.

thank you for reply
can you please write to me modifications
and under which class or attribute do changes
this is what i changes
but nothing changed

.nav ul {
	padding: 0;
	margin:0 auto 0 5px;/* was margin-left auto*/
	list-style: none;
	display:flex;
}
.logo {
	margin-left:auto;/* was margin-right*/
	margin-right:5px;
	order:-1;/* was order 2*/
}

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.