Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.

    Home Forums Theme Forum HelloCoco & HelloCoco iPhone Home menu item not blck when active

    This topic contains 4 replies, has 2 voices, and was last updated by  Anonymous 6 years, 4 months ago.

    Viewing 5 posts - 1 through 5 (of 5 total)
    • Author
    • #15812


      There is a CSS issue in your demo where the “Home” menu item background is not black when active on the homepage. Any suggestions?




      It seems to be an issue with making the home page active.



      Hi, no, it’s a javascript code you have to add.
      Go to: skinfrontenddefaulthellococojscustom.js

      add this:

      if (url==’/hellococo/’ || url==’/hellococo/index.php’)
      jQuery(‘#nav li:first’).addClass(‘active’);



      Yes! Great! For others, just make sure this code is placed within js statement, not at the end of the file. You’ll also need to change “Hellococo” to the base URL for every language or store you have.





    Viewing 5 posts - 1 through 5 (of 5 total)
    Reply To: Home menu item not blck when active
    Your information:

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">