It may be silly question, Please help me on this.

I have a site list with below navigation bar (Main menu). Just wanted to make color code with boarder. Please help me on this.

enter image description here

enter image description here

有帮助吗?

解决方案

You can use below code to apply CSS on each column header (th element) in your list view:

<style type="text/css">
    tr.ms-viewheadertr th {
        background-color: #003366 !important;
    }
    tr.ms-viewheadertr th * {
        color: white !important;
        font-weight: bold !important;
    }
</style>
许可以下: CC-BY-SA归因
scroll top