From the course: SharePoint 2019: Customizing with Themes and CSS

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Allow for variable states

Allow for variable states

- [Instructor] If you remember when we were creating our custom CSS elements, we had some criteria. We wanted to have bulleted lists, and we wanted to be able to have hyperlinked content displayed without any underlining. So, what we're going to need to do is build some extra CSS to handle those circumstances. And an important point, we don't want to change the default list or anchor tags, only those for the new styles, so what's our best way to do that? Let's go back to our style sheet and what I'm going to do is start another element and we're going to add some pseudo classes in for the stuff that we already have. I'm going to take newscontent, I'm going to copy that and paste that in again. But here, let's say newscontent ul which will be all unordered lists and let's change the description here. This defines bulleted lists inside the newscontent area text. That makes sense and what we want to do is change this line here and we're going to say list-style-type is square. And make…

Contents