![]() Admin Menu Font Size Adjustment) and the CSS, e.g. Go to: /admin/config/development/css-injector.If you want the Admin Menu to be adjusted for all themes without a custom module, you can use the CSS Injector module as follows: You must know how to update your module.Change will affect any page using any theme.Update mymodule.module to add the css file upon init:ĭrupal_add_css(drupal_get_path('module', 'mymodule'). If you have a custom module and want the Admin Menu to be adjusted for all themes, you can add some CSS to your module as follows: Create mymodule.css Change will ONLY affect any page using that theme.You must know how to update your theme.Change will affect any page using that theme.In our case, we’ll add blocks to the 'products' element. To do this, we go to Structure, Drupal 8 Mega Menu, and then click config next to the main navigation. After completing this step, we can start adding blocks to the menu. Where the CSS goes depends on your theme. To do this, we click Disable in the block's action menu. If you have a custom theme and only need the Admin Menu to be adjusted for that theme only, you can add some CSS to your theme like:Īnd then refresh your caches. Other things on the page increase as well which may or may not be desirable.Must repeat steps when starting new browser windows.For example, Control + will increase your font in Firefox, Chrome, and others. Most browsers let you adjust your font size. (It really should be the default configuration!) Requires enabling an additional module.Just make sure to disable the core Toolbar module afterwards or you'll have 2 toolbars. Download & Extend Drupal Core Distributions Modules Themes General projects Menu item content fields View Version control Automated testing 11 The main purpose of the module is to be able to add fields to custom menu items and render them with different view modes. The Admin Menu Toolbar module used to be kind of buggy but I tried it recently and it was working pretty well. If you enable the Admin Menu Toolbar module, then the font is bigger and matches the core Toolbar better. ![]() If you just enable the main Admin Menu module, then the font is small. Use the Admin Menu ToolbarĪdmin Menu comes with 2 options. I love the Drupal Admin Menu module (in fact, I almost can't live without it!), but I guess I'm getting old because I find the microscopic font hard to read ) Others have this problem as well, but it hasn't been made configurable yet, so here are your options: 0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |