Webpart Title and Border Does not Work

The Chrome type "title and border" does not display the title or border on webparts. The problem is trivially reproduced:

1. Create a new blank site.

2. Add a webpart to it. Not important which one.

3. Change the chrome to title and border.

4. Apply the changes and save.

5. Note the absence of title or border.

Try changing the chrome type to either title or border and they work individually but together they do nothing. I have seen others report this issue of various forums but never a resolution. This worked in 2010 and does not work in 2013. I am using IE 11 but it also didn't work with older versions of IE.

March 13th, 2014 10:45pm

Hi Colin,

Could you describe how it displays when you set Chrome Type as Title and Border ? For clearly, you could compare different Chrome Types in one page and post it here, it will help to understand the issue.

I reproduced the issue by adding five webparts of the same library named doclib into one page, and set the Chrome Type as Default, None, Title and Border, Title Only, Border Only, respectively.

As you could see from above, Default displays as Title Only.

Regards,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com .

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2014 7:30am

Dear Rebecca,

Thanks for the reply. I added 5 library web parts to the site and gave them the same settings as you did namely Default, None, Title and Border, Title Only and Border Only. As you can see from the image below everything is good except Title and Border (Documents 3) which behaves as if it were Title Only. In my earlier question I said it didn't display the title but that was a mistake - its just the border that is missing.

I came across a workaround which is to insert a Script Editor and put some CSS in it to create a border manually which sort of fixes the problem but its strange why this happens in the first place.

Anyway, thanks for checking this for me.

Best wishes....

Colin

March 17th, 2014 11:06am

I have the same behaviour. Can't make TitleAndBorder to show title and border.

I can reproduce it on my sharepoint online. Any suggestions?

Free Windows Admin Tool Kit Click here and download it now
July 27th, 2014 11:46am

Same issue here - can you send the css you used to fix it?

ron.stevens at hp.com

March 6th, 2015 4:47pm

Hi Ron,

I found this somewhere else but sadly I can't remember where so I can't take any credit for it. I have made some "artistic" changes (e.g. line colour, width etc.) so I will take the blame for that bit:-)

Anyway, the solution I found was to add a Script Editor wed part to the page and put the following code in it.

<style type="text/css">

.ms-WPBorder
{
  border-style:solid;
  border-color:grey;
  border-width:1px;
  border-spacing:8px;
}

</style>

That fixed the problem for me.

I hope this helps.

Best wishes....

Colin


Free Windows Admin Tool Kit Click here and download it now
March 7th, 2015 6:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics