Related items font color change

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Stu
Posts: 23
Joined: Tue May 10, 2016

16 Aug 2016

I am getting complaints from my users that the related items are hard to see when printed. I would like to change the color of the font in the related item to black so it is clearer when printed.

How do you change the look of the related items.

Thanks

Stuart

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

17 Aug 2016

Hi Stuart,

Assign a CSS class to the Related Items control, say 'related-items'. Then insert the following code into CSS-editor:

Code: Select all

@media print {
    .related-items * {
        color: black !important;
    }
}

Stu
Posts: 23
Joined: Tue May 10, 2016

17 Aug 2016

thanks

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests