I want the nav bar which is presently below the company logo to be on the upper part of the page on same line with the logo | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I want the nav bar which is presently below the company logo to be on the upper part of the page on same line with the logo

Both the logo and nav bar are under the parent element <header> but presently the nav bar is below the logo. Am trying to move it up, to be on same line with the logo but to the right side whilst the logo stay on the left.

18th Mar 2019, 6:43 PM
Moshood Aderibigbe
2 Antworten
+ 1
You'd have to play with the css properties. You can use a float or inline blocks but I'd recommend using the flexbox technology (header display flex) which is easier to manipulate :) You can read this article for help : https://css-tricks.com/snippets/css/a-guide-to-flexbox/
18th Mar 2019, 6:47 PM
Dyf Dyf
Dyf Dyf - avatar
+ 1
://Hey Moshood Aderibigbe can you please attach your source code so community can help you 😊
18th Mar 2019, 6:50 PM
Sudarshan Rai
Sudarshan Rai - avatar