From the course: SharePoint 2019: Customizing with Themes and CSS
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Modify site navigation widths and drop-down menus - SharePoint Tutorial
From the course: SharePoint 2019: Customizing with Themes and CSS
Modify site navigation widths and drop-down menus
- [Instructor] I really like the Oslo style in SharePoint with the navigation along the top, but I have one major complaint about it. Now I've added some pages to the site and I have them showing you these drop down items from the main page menu bar. Dynamic drop downs, you got to love it. But when you look at them, the page descriptions are much longer than the stingy little area that they give you and look how this wraps. Now I really think that this looks bad and what's worse, it could potentially be confusing for my end user, which is what I do not want. So how can I improve this experience? What I ideally want is for each menu item in the drop down to be on a single line. So let's go with the pinpointer and see what we have. This area here, you can see we have a class here, dynamic, and I believe that this is what we want so we'll go ahead, copy this, and we'll start a new rule and let's say that the width is going to be auto. Now I have a choice here. I can set the width to be a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Browser developer tools2m 41s
-
(Locked)
Knowing what CSS elements to change3m 17s
-
(Locked)
Modify site navigation fonts and backgrounds8m 15s
-
(Locked)
Modify site navigation widths and drop-down menus5m 56s
-
Modify site navigation placement9m 23s
-
(Locked)
Challenge: Modify the navigation font and background colors2m 3s
-
(Locked)
Solution: Modify the navigation font and background colors2m 46s
-
(Locked)
-
-
-
-
-