How to style the List View webpart in SharePoint Designer 2013?
With the missing design view in SharePoint Designer 2013 the designing part of simple webparts is now a bit complicated.
Here I discuss the designing of a List View webpart.
The first step is to bring up the List View Tools . To do this just click anywhere in the List view webpart code.
Go to the Design tab and click on the Customize XSLT. Select the Customize Entire View and click.
This expands the list view XSLT code and provides us the opportunity to make changes.
Customize XSLT |
In the XSLT we need to find the places where the attribute class is defined for the components/templates we want to design. It will be something like the code shown below.
Here we can provide our own class name and define the styles for that using the CSS.
I hope this helps you a bit. If you have a better solution. Please post in comments.
I am not getting List View Tools tab in my SharePoint Designer 2013 How to make it visible ..?
ReplyDeleteMe too Prasath....
ReplyDeleteDid you tried this?
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/19/how-to-create-custom-views-using-sharepoint-designer-2013.aspx
I am also facing same issue please help me you people are find the option.
ReplyDeleteGood day! just passing by your site to read some interesting facts. Thank you for sharing your article, I must say that you did a good job and continue to inspire us. Try to visit my site #triciajoy.com
ReplyDeletetriciajoy.com
www.triciajoy.com