How do I hide the title of a list from a form?

Discussions about Forms Designer for SharePoint 2010.
Locked
samsteinig
Posts: 2
Joined: Thu Apr 25, 2019

25 Apr 2019

Hi,

I need to remove/hide the Title of my list from the Display form, or at least not make it clickable. Can you let me know how to do this?

See screenshot here:

https://www.dropbox.com/s/yu2644d8nd9cy ... e.JPG?dl=0

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

29 Apr 2019

Hi!

Please make use of Developer Tools of Chrome browser (F12) to detect the class or id of this element on the form:

Use the "Inspect it" option and point to the title you want to hide:
Screenshot_142.png
Screenshot_142.png (3.52 KiB) Viewed 65480 times
In code it will be shown like this:
Screenshot_143.png
Screenshot_143.png (2.92 KiB) Viewed 65480 times
Copy "id" or "class" attribute.

Then go to the Forms Designer and open the CSS Editor:
Screenshot_144.png
Screenshot_144.png (3.8 KiB) Viewed 65480 times
Then add this CSS rule:

1) for id:

Code: Select all

#IdName {
    display:none;
}
2) for class:

Code: Select all

.ClassName {
    display:none;
}
Do not forget to replace IdName or ClassName with the id or class attribute you copied before.

samsteinig
Posts: 2
Joined: Thu Apr 25, 2019

01 May 2019

Thanks!

The class was .PageTitle, so I did the following:

.PageTitle {
display:none;
}

and that worked. Hopefully this will help anyone else who wants to hide the list title.

Thanks again.

Sam

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests