0
Welcome Guest! Login
0 items Join Now

Adding Class Suffix to Template Fusion Menu

    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Hi,

      I'm trying to gain control of the mainmenu suffix class through Gantry by exposing a parameter in template_options.xml. I want to change the opacity of the background mainmenu blocks (not the pill)

      This is for the Momentum template, and I'm in the Fusion menu fieldset. I modified

      <field name="class_sfx" type="hidden" default="top"/>

      to:

      <field name="class_sfx" type="text" default="" label="Class Suffix" class="text-short" />

      This exposes the field properly in the Menu page, but when I enter and save a parameter (eg dark15) it doesn't seem to have an effect.

      What am I missing?

      Thanks

      Michael
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Hello,
      Is this site online? If so, please provide the URL to the issue and please also provide a littel more information about that change you are trying to see result from your modification.
      :)
    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Not yet, but I can put it up this evening.

      I'm basically trying to replicate the level of template style control through suffix that exists for RokNavMenu, which I am also using.

      See the attached image - top mainmenu Fusion Menu has an opacity equal to the Momentum dark40 suffix, the lower RokNavMenu Fusion Menu has an opacity equal to Momentum dark15 suffix. I want to make the mainmenu match the RokNavMenu.

      Thanks

      Michael
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • okay just post the URL here when you have it online
    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Hi

      You can see the ppe site at:

      stg.ecoreefs.com/

      I'll PM you the admin login

      Thanks

      Michael
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • actually the main menu matched the dark70 bg so all you need to do is change the dark15 suffix that you entered for the lower menu to dark70

      If this solved your issue, please mark the subject of your original post [SOLVED]. Likewise, if you still need help please reply with details.
    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Hi

      Thanks - but I want to go the other way, I want to change the mainmenu to dark15. Seems like the way to do that would be to expose the suffix parameter in the template-details.xml so that it is configurable.

      Michael
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • oic
      just change line 73 of the overlay.css file
      from this:
      /* Navigation - LIGHT */
      .page-overlay-light #rt-navigation .rt-fusionmenu, .page-overlay-light #rt-navigation .rt-splitmenu {background: url(../images/overlays/global/dark-70.png);}

      to this:
      /* Navigation - LIGHT */
      .page-overlay-light #rt-navigation .rt-fusionmenu, .page-overlay-light #rt-navigation .rt-splitmenu {background: url(../images/overlays/global/dark-15.png);}
    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Thanks - that works fine.

      Michael
    • ecoreefs's Avatar
    • ecoreefs
    • Rocketeer
    • Posts: 54
    • Thanks: 0

    Re: Adding Class Suffix to Template Fusion Menu

    Posted 12 years 4 months ago
    • Okay thanks this works - and this can be marked solved.

      Michael

Time to create page: 0.053 seconds