0
Welcome Guest! Login
0 items Join Now

Hard time changing the dropdown menu

  • Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • Hi,
      I have a hard time finding al the .gf-menu items to change all the rounded corners, backgrounds, spacing etc. within the standard Gantry template.
      Anyone that can point me?
      Thnx Dick
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • firebug or chrome's dev tools "Element Inspector" will help you determine the elements involved.

      add this to your custom css file:
      body .gf-menu.l1 > li.active, body .gf-menu.l1 > li.parent:hover, body .gf-menu .dropdown {border-radius: 0;}
      If you are using Gantry 4 (or later) you can create a file using a simple text editor for custom css and name it using this format: templatefolder-custom.css (e.g., rt_kirigami-custom.css or gantry-custom.css).

      the above css will deal with the border radius'
      always make sure your css is m,ore specific than the css already in effect.
      see this: coding.smashingmagazine.com/2007/07/27/c...ngs-you-should-know/
  • Re: Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • Hi,
      Thanks for the fast reply. I do use Firebug. Point is that everytime I do another template I have to go figure out which item is used where. I prefer to just copy the whole list of css menu-selectors that are used empty them and then start to add my own styling.
      I love the Gantry template but this isn't very clear (at least to me ;-)).
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • Okay thank you for the input. If this solved your issue, please mark the subject of your original post [SOLVED]. Likewise, if you still need help please reply with details. :cheesy:
  • Re: Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • Well if you do have a list with the css menu selectors I would appreciate those :-).
      Regards Dick
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hard time changing the dropdown menu

    Posted 12 years 3 weeks ago
    • look in the menu.less file
      that and dev tools is how I get them.
  • Re: Hard time changing the dropdown menu

    Posted 12 years 2 weeks ago
    • Means I have to start learning less. Sigh.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hard time changing the dropdown menu

    Posted 12 years 2 weeks ago

Time to create page: 0.071 seconds