Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Menu separators

More
10 years 6 months ago #35326 by trogladyte
Menu separators was created by trogladyte
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!

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

More
10 years 6 months ago #35330 by ced1870
Replied by ced1870 on topic Menu separators
Hi
you can set a border or a shadow to do that, in template creator or maximenu :)
CEd

Joomlack Webmaster and Developer

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

More
10 years 6 months ago #35331 by trogladyte
Replied by trogladyte on topic Menu separators
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.

More
10 years 6 months ago #35332 by ced1870
Replied by ced1870 on topic Menu separators
you must then add a custom css like ":first-child" to remove the border on the first item

Joomlack Webmaster and Developer

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

More
10 years 5 months ago - 10 years 5 months ago #35342 by trogladyte
Replied by trogladyte on topic Menu separators
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: 10 years 5 months ago by trogladyte.

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

More
10 years 5 months ago #35343 by trogladyte
Replied by trogladyte on topic Menu separators
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.207 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 763 guests and one member online