Deeper nested menus are displayed depending on the size of the device. Stacked submenus on larger screens are more difficult to read: People stumble over what’s underneath. Indenting menu entries is a good way to improve readability:
Solution:
- Just add the following code to your
_bscore_custom.scs
file:
@include media-breakpoint-up(lg) {
ul.depth_1 {
left: 25% !important;
top: 0% !important;
}
ul.depth_2 {
left: 25% !important;
top: 0% !important;
}
ul.depth_3 {
left: 25% !important;
top: 0% !important;
}
ul.depth_4 {
left: 25% !important;
top: 0% !important;
}
}
Background
Up to the bootstrap breakpoint LG
, the submenus are embedded into the menus by shifting the following elements downwards. So, nothing is hidden. The reader sees directly what is meant. Above the bootstrap break point, the situation is different: Here, the submenus are stacked on top of each other. This is distracting. The reader first thinks about what is underneath. But if we move the submenus a little right, however, the previous remains recognizable although the reader can focus on the new.
And how does this …
… support our migration to bootScore? Well, once a web designer has taken the first general steps and has checked SEO, she will soon turn to a really thick board, her properly clustered and presented menu without getting too fancy. Eventually, she is going to spruce and speed up the display of fixed and scalable images. This post talks about a part of this way.