0
Welcome Guest! Login
0 items Join Now

Afterburner Active Menu Items (nav li.active)

  • Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • I cannot get the afterburner Nav menu to highlight the parent item unless the sub item has been selected.

      The Home menu item works fine. I added a Wrapper test and it worked fine.

      Some of my menu items do not have child items, like home, but they do not activate when the article or page is visited. Everything on my site is an article besides the contact form and the only menu item that activates is the Home item. Is this a css issue?

      I've seen the tutorial on setting up a menu.
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • Hello,

      In this case i would believe it is a CSS issue. have you modified the css since you installed afterburner?

      does this happen in all browsers?

      do you have a link to your development area? you can PM this link to me if you would like.

      I hope this helps!

      Cheers
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • PM sent. Happens in all browsers and I haven't done much of anything to the css.
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • Thanks!

      just took a quick peek at your site. it looks like the menus are not getting the active class applied to the li. which is very strange.

      what version of joomla are you use? i assume this is just the stock joomla menu?

      Cheers
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • Yes, stock Joomla menu and version 1.5.15

      Just downloaded afterburner and swapped out the dark4.css and the issue remained, so I guess it's not the css.
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • I found it. DB issue. You can delete this thread.
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • Great to hear! do you know what the DB issue was? would just like to keep it as a record.

      you can even PM it to me.

      All the best
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 11 months ago
    • Not exactly sure. I created a demo site with the afterburner template and loaded my db, which blew the menu up. I went through the db adding a few tables at a time to see where the issue was coming from. As soon as I loaded my jos_menu table the menu started to malfunction.

      I took my site down for a few minutes, dropped the table, rebuilt the menu and everything was fine. I wish I new exactly what caused the problem, but I was trying to fix it asap.
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 10 months ago
    • My menus are still very unstable. I haven't been able to pinpoint the issue yet. At this point I'm unable to have a duplicate menu showing in the left column module position.

      The reason I started moving menus around was to make the site W3C compliant. In my demo site, that I created the other day, I have one menu created and 2 menu modules using the same menu. This causes invalid HTML.

      1. Error Line 107, Column 120: ID "current" already defined

      …"><span>Home</span></a></li><li id="current" class="active item2"><a href="/a

      An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
      2. Info Line 53, Column 116: ID "current" first defined here

      …/"><span>Home</span></a></li><li id="current" class="active item2"><a href="/

      I've built other sites that have one menu and 2 menu modules showing on the same page that do not have this issue. Any idea how to fix it?
  • Re: Afterburner Active Menu Items (nav li.active)

    Posted 14 years 10 months ago
    • Hello,

      Hmm it seems like the easiest solution for this one is to give each menu item a unique ID in joomla administration and then the menu manager and edit the menu.

      That should clear up your conflict with the IDs.

      Cheers

Time to create page: 0.056 seconds