0
Welcome Guest! Login
0 items Join Now

Decrease font submenu item (rem)

    • Oliver's Avatar
    • Oliver
    • Jr. Rocketeer
    • Posts: 36
    • Thanks: 0

    Decrease font submenu item (rem)

    Posted 7 years 1 month ago
    • Hi,

      I can't find the way to decrease the submenu item. Menu item is 1rem, and sumbenu too.
      When I select with inspector submenu item and I decrease to 0.9rem, I like it, but then it decreases also the main menu and I don't want that.

      I'd like to have main menu bigger, 1rem, and sumbenu item little bit smaller 0.9rem.

      Can anyone tell me how to custom to achieve this?

      This is the website: escueladeuncursodemilagros.es/


      Thanks so much!

      Regards,
      Oliver
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Decrease font submenu item (rem)

    Posted 7 years 1 month ago
    • Use this code...
      #g-navigation .g-main-nav .g-sublevel > li > .g-menu-item-container {
          font-size: 0.9rem;
      }
      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.

      Regards, Mark.
    • The following users have thanked you: Oliver

    • 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.

Time to create page: 0.062 seconds