Hi,
I want to justify the header menu. What code can i use for this?
I tried the following code but no luck. I use the Logo center/menu center option.
.main_menu ul:first-child > li > a { text-transform: uppercase; font-size:20px;text-align: justify;
text-justify: inter-word;}
THX Freek
Hi Freek!
I don’t think your going to be able to justify that. You could set each list item to have a certain width but it would look weird depending on the amount of links you have. Also it wouldn’t be very responsive.
It would be possible for the sub menu links because they are all the same width and they will display the same if the screen gets resized.
Cheers!
Elliott
I think you are right but i will give it a try. What css code code can i use for fixed menu item width?
THX Freek
Hi!
This CSS will give them a fixed width.
.av-main-nav > li {
width: 20%;
}
.av-main-nav > li > a { width: 100%; }
Best regards,
Elliott