Announcement

Collapse
No announcement yet.

Mega Menu Text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mega Menu Text

    Is it possible to have a different (shorter) text for the Mega Menu than the Section name in its entirety.

    I have quite long section names wchich work well in terms of SEO as they are in <h1> tags at the top of each page...
    But they are rather long for the Meag Menu.

    So is there a way of editing the Mega Menu text to shorter versions of the section names?
    Arka Tribal Jewellery

    #2
    Create a new Section level Variable - "ShortSectionName", type Text, Allow Blank, uncheck Use Parent.

    For your troublesome Sections set ShortSectionName to a more concise description.

    Edit all the Mega Menu layouts and replace every (there are many):
    Code:
    <actinic:variable encoding="actinic" name="SectionName" selectable="false" />
    With:
    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ShortSectionName%22%20%2f%3e%20%3d%3d%20%22%22"><actinic:variable encoding="actinic" name="SectionName" selectable="false" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22ShortSectionName%22%20%2f%3e%20%21%3d%20%22%22" ><actinic:variable encoding="actinic" name="ShortSectionName" selectable="false" /></actinic:block>
    This will use the usual Section Name if ShortSectionName is empty. If ShortSectionName is defined, this will be used instead.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Wow thanks Norman, that sounds perfect. I'll try that out tomorrow!
      Arka Tribal Jewellery

      Comment


        #4
        Works a treat !

        I only found 3 instances but it seems to work ok.

        Mega Menu Layout
        line 26
        Mega Menu More Section Links
        line 4
        line 14
        Arka Tribal Jewellery

        Comment


          #5
          There are also a couple in Mega Menu Sub Section Links.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            ahhh thanks..

            That layout wasnt showing in my design tree... on the design page
            I had to go to the design library to find it.

            Thanks


            Mega Menu Layout
            line 26
            Mega Menu More Section Links
            line 4
            line 14
            Mega Menu Sub Section Links
            line 4
            line14
            Arka Tribal Jewellery

            Comment


              #7
              Hi Norman, Do you (or anyone else!) know how I would make the top level Mega Menu text bold?
              I am using your 'short name' method above to have custom mega menu text.
              I tried !!<<b>>!! !!<</b>>!! in the custom 'short name' field but that didnt work.
              Arka Tribal Jewellery

              Comment


                #8
                Click the Design tab, then the Current Stylesheet button. At the very end add:
                Code:
                #mega-menu > ul > li > a {font-weight:bold;}
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Perfect! Thanks Norman
                  Arka Tribal Jewellery

                  Comment

                  Working...
                  X