REF: accessing last menu item on level1

REF: accessing last menu item on level1 was created by k8fisher

Posted 11 years 11 months ago #3355
Hi Im presently trying to adjust the last menu item to appear in a different colour, what notation would I use to reference the last level1 menu item? Im presently using:

div#maximenuck ul.maximenuck li.level1 last, div#maximenuck li.level1.last a span.titreck {
color: #f15a24!important;
font-weight:bold;
}

but I think Im not using the right notation to locate the last level1 item.

Any thoughts welcome.

Kate

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

Replied by k8fisher on topic Re: REF: accessing last menu item on level1

Posted 11 years 11 months ago #3356
Just worked it out, I am a little confused about the notation used to access elements in the menu but so glad I found this component!

Now using:
ul.maximenuck li.last>a span

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

Replied by k8fisher on topic Re: REF: accessing last menu item on level1

Posted 11 years 11 months ago #3357
*heck* that operates on all levels :/ how would I limit this to work on just level1?

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

Replied by ced1870 on topic Re: REF: accessing last menu item on level1

Posted 11 years 11 months ago #3358
hi

I use to reference the last level1 menu item

so use this :
Code:
ul.maximenuck li.level1.last>a span
;)

Joomlack Webmaster and Developer

by ced1870

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

Replied by k8fisher on topic Re: REF: accessing last menu item on level1

Posted 11 years 11 months ago #3359
Many thanks, I know it sounds insane to not be sure, just going stir crazy from modifying lines, clearing caches and it still not working.

Thank you shaped good vibes :)

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

Time to create page: 0.645 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 592 guests and no members online