1

I created a summary link web part on my sharepoint 2007 page. Now I see that If I select the style "Banded" for the group headers, they come up highlighted in grey.

enter image description here

Is there any way to change that background color into some other one? Maybe by changing some .css file or by adding some script in a content editor web part?

1 Answer 1

1

You add a custom style sheet to you page using a content editor web part or customize the master page. You will find some CSS snippet on my blog post on how to turn summary link web part into an accordion.

What you need to customize is basically the groupheader:

.groupheader{
    background-color: #0072C6;
    color: white;
    font-size: 140%;
    padding: 0.5em;
    padding-left: 0.75em;
    margin-right: 0.5em;
    margin-bottom: 1px;
}

.groupmarker:hover .groupheader{
    cursor: pointer;
    background-color: #0597FF;
}

.dfwp-list{
    background-color: #0072C6;
    margin-bottom: 0.5em;
    margin-right: 0.75em;
}
.dfwp-list .item:hover{
    background-color: #0597FF;
}
.dfwp-list .link-item a{
    margin-left: 2em;
    color: white;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.