- This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Here is my site:
I need the vavigations buttons(the li’s) to span the whole navigation bar. The most extreme buttons should reach both ends without the extra space that exits now.
Can someone advice please?
Regards
Triplebit
A minimal demo in Codepen.io would be preferred to messing around on a remote page.
At first glance there appear to be be more things awry here that a simple “change one thing” fix.
Thanks
I tried to send the code to Codepen.io but it failed.
However I managed to send it to JsFiddle.
I hope its OK for you.
http://jsfiddle.net/api/post/library/pure/
Thx anyway
JS Fiddle is blank.
Thx
You are right. I’m sorry. Not so experienced and forgot to “save” it.
Now I did…
http://jsfiddle.net/d9p32urw/
Thx
Hi Triplebit,
Actually this is quite simple, you need to make three changes.
container
class from fl-page-nav-container
,display: flex
to .fl-page-nav-centered .fl-page-nav ul.navbar-nav
,flex: 1
to .fl-page-nav-centered .fl-page-nav ul.navbar-nav > li
.Of course you need to remember on which breakpoints you’re doing this (probably only on the biggest one).
Also, on some lower resolutions your menu is breaking, consider changing the font to a smaller one on low breakpoints.
P.S. Your JSFiddle looks really weird, is it an automated output?
Dear Mr. tomek
Thx for the reply but I can’t understand your 3 sentence:
Add flex: 1 to .fl-page-nav-centered .fl-page-nav ul.navbar-nav > li
Can you please repeat with simpler sentence?
P.S. Your JSFiddle looks really weird, is it an automated output?
Yes, I used some automated output.
Regards
I. lesher
Deer Mr. Tomek
Especially I don’t understend the end of the sentence:
li
Regards
I. Lesher
Deer Mr. Tomek
Especially I don’t understend the end of the sentence:
“> li”
Regards
I. Leshe
Ok
At the end I got it
Good bless you
I. lesher