0
Welcome Guest! Login
0 items Join Now

SOLVED css active menu item

  • SOLVED css active menu item

    Posted 10 years 5 months ago
    • Hi There

      I've used the Gantry basic template for a site and need to change the active menu item to #F6641E but am really battling to find the specific code. Please help!! My site is demo.remistar.co.za/

      Thanks a mil
    • Ann du Plessis
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED css active menu item

    Posted 10 years 5 months ago
    • Use this code...
      .gf-menu li.active .item {
          color: #F6641E;
      }
      This is how to create a custom CSS compatible with Gantry 4...

      Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED css active menu item

    Posted 10 years 5 months ago
    • Thanks for the response Mr T but that doesn't work :( Neither does adding !important afterwards
    • Ann du Plessis
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED css active menu item

    Posted 10 years 5 months ago
    • I can't find your custom CSS file containing the code that I gave you?

      This gives a 404 not found http://demo.remistar.co.za/templates/gantry/css/gantry-custom.css

      ... and you do not need !important so don't put that.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED css active menu item

    Posted 10 years 5 months ago
    • doh! I'm so used to adding rt_ before the custom css file!
      Sorted now, thanks so much.
    • Ann du Plessis

Time to create page: 0.068 seconds