Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Antimatter Dropdown Width

Started by Muut Archive 11 years ago · 2 replies · 400 views
11 years ago

I played with template.css and navigation.twig.html but can't make it. How do I widen the width of dropdown menu. Thanks!

11 years ago

If you inspect the dropdown with Chrome for example, you can see in the developer tools exactly where the width is being set:

Home | Demo2 2014-12-25 11-08-21

If you modify any SCSS, You will need to recompile it to have it take effect.

Alternatively you can put in a more specific css line in your css/custom.css file:

CSS
body #header #navbar ul.navigation li:hover > ul { 
  width: 15rem;
}

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1103 9 years ago