Override current li style
See original GitHub issueHi,
There’s a way to overide the current li style and change it from blue to gray ? I tried this but i still have the blue color :
pagination-controls li.current{
background : gray;
}
Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Css overwrite list styles - html - Stack Overflow
Apply the class attribute to all lists that you want to override the style on! That way it works on the different lists!...
Read more >How to Override CSS Styles - W3docs
An !Important declaration is a great way to override the styles you want. When an important rule is used on a style declaration,...
Read more ><li>: The List Item element - HTML: HyperText Markup Language
This type overrides the one used by its parent <ol> element, if any. Note: This attribute has been deprecated; use the CSS list-style-type ......
Read more >Create, change, or delete a view of a list or library
Select the name of the view that you want to change. Select View options again, and then select Edit current view. On the...
Read more >How To Change Bullet Color of a List - W3Schools
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The
!importanthack solved the problem. Thank you. Now you can close it 😃You are totally correct. The PaginationControlsComponent should perhaps not use the emulated shadow DOM style mode, which would make it easier to override the styles.
For now, you can force it with an
!importantmarker in your css:See a demo here: http://plnkr.co/edit/a9AofVgQPgIWu0M0FF9Y?p=preview