VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Coloring alternate menu
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Coloring alternate menu

Coloring alternate menu 23 Jul 2015 08:59 #7102

Hello,
It is possible coloring the menu with alternating colors?
As the attached image.


This image is hidden for guests. Please log in or register to see it.
  • Auditore

Re: Coloring alternate menu 24 Jul 2015 02:31 #7106

You can use css3, add to templates/jf_creativia/css/menu.css:
 
div.main_menu li ul li:nth-child(even) a, div.main_menu li ul li:nth-child(even) span.separator { color: green; }
div.main_menu li ul li:nth-child(odd) a, div.main_menu li ul li:nth-child(odd) span.separator { color: yellow; }
 


joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Coloring alternate menu 24 Jul 2015 11:15 #7108

It works perfectly!!! Thank you!
  • Auditore
  • Page:
  • 1
Time to create page: 0.55 seconds
Tuesday 19 March 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.