CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • problem theming the menu
Pages: [1]

Author Topic: problem theming the menu  (Read 391 times)

johanbeckers

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Drupal 7
  • MySQL version: 5.0.51a
  • PHP version: 5.2.14
problem theming the menu
December 05, 2011, 03:23:30 am
Hi all ...
I'm making a new theme for CiviCRM.
All is going fine except for the menu, more specific the top level menu items.
I've been looking for some day, but can't find any working solution.
Hence, I'm no programmer and maybe it is just to obvious? :)

Currently the menu is build up like this:
Code: [Select]
<ul id="civicrm-menu">
<li class="menumain crm-link-home">
Home
<ul id="civicrm-home" style="display: none;">
</li>
<li class="menumain crm-Search">
Search
<ul style="display: none;">
</li>

I would like to add a span arround the actual menu item like this:
Code: [Select]
<ul id="civicrm-menu">
<li class="menumain crm-link-home">
<span class="crm-link-home">Home</span>
<ul id="civicrm-home" style="display: none;">
</li>

And this not only for the top level menu items, also for sublevels.

A second question:
Currently one has to click a toplevel menu item to show the dropdown with the sublevels.
Is it possible to show this dropdown on a hover not needing to click?

thanks in advance,
Johan.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • problem theming the menu

This forum was archived on 2017-11-26.