Menu separators

Menu separators was created by trogladyte

Posted 7 years 10 months ago #35326
Does template creator ave the ability to do this or do I have the use MaxiMenu?

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Attachments:

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Menu separators

Posted 7 years 10 months ago #35330
Hi
you can set a border or a shadow to do that, in template creator or maximenu :)
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic Menu separators

Posted 7 years 10 months ago #35331
The problem with a border is that it also appears at the end of the menu (either right or left).

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Menu separators

Posted 7 years 10 months ago #35332
you must then add a custom css like ":first-child" to remove the border on the first item

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic Menu separators

Posted 7 years 10 months ago #35342
Thanks Ced. Tried to do that, but my knowledge of CSS is limited so never made it to work. I'm guessing it goes somewhere in this attribute #nav1 ul.menu > li > a, #nav1 ul.menu > li > span.separator, #nav1 ul.maximenuck > li > a, #nav1 ul.maximenuck > li > span.separator

so added border-right:none!important; to the body and :last-child to the end of each in succession, but noting did anything useful.

ckdev.info/sheriff/index.php?option=com_...cle&id=16&Itemid=288

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Last Edit:7 years 10 months ago by trogladyte
Last edit: 7 years 10 months ago by trogladyte.

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic Menu separators

Posted 7 years 10 months ago #35343
Oh my, think I did it!

I had been adding :last-child to the end of each string, like:

#nav1 ul.menu > li > a:last-child,

when, in fact, after reading another tutorial, I realized that, maybe, it should be added straight after the li like this:

#nav1 ul.menu > li:last-child > a,

And it worked. Thank you again.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Time to create page: 0.685 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1084 guests and one member online