New Landing How can we help? Cardinal Category Menu Items in Lower case

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #185219
    George
    Member
    Post count: 235

    Hi,

    How do I get my category items in my menu lowercase? Currently changes to uppercase even when the title is lowercase? See the categories menu item.

    Events Travel

    Many thanks.

    George

    #185267
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    li.menu-item.sf-mega-menu ul.sub-menu li.menu-item > a{
    text-transform:lowercase !important;
    }

    Thanks
    Mohammad

    #185274
    George
    Member
    Post count: 235

    Thanks Mohammed,

    What would the code be to display the text how it appears in the title of the menu item?
    i.e. cycling would appear as cycling
    Cycling would appear as Cycling
    CYCLING would appear as CYCLING

    Previously any text in the title went straight to Upper Case which I did not want.

    Now with your code I cant change any of the category menu items to be the other variations.

    Thank you.

    #185304
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach a marked screenshot to explain your issue.
    Thanks
    Mohammad

    #185620
    George
    Member
    Post count: 235

    Hi Mohammed,

     

    Please see the screenshot below with what i’m referring to.

     

    Thanks

     

    https://events.com.au/wp-content/uploads/2015/06/menu-changes.jpg

    Attachments:
    You must be logged in to view attached files.
    #185628
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Replace Mohammad code by this one.

    li.menu-item.sf-mega-menu ul.sub-menu li.menu-item > a {
      text-transform: capitalize !important;
    }

    -Rui

    #185629
    George
    Member
    Post count: 235

    Hi Rui,

    Thank you, that works.

    Can you also explain why the menu items under ‘Categories’ look different to the items under ‘More’?

    The difference is in the attached image.

    Attachments:
    You must be logged in to view attached files.
    #185632
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It seems it has different css.
    Use the one below so it can be equal to both, adjust the font size to the desired value.

    nav.std-menu ul.sub-menu > li > a, nav.std-menu ul.sub-menu > li > div.current-language , li.menu-item.sf-mega-menu ul.sub-menu li.menu-item > a{
      font-weight: normal!important;
      font-size: 12px!important;
    }

    -Rui

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register