Bhubaneswar, Odisha, India
+91-8328865778
support@softchief.com

Change style using CSS of Entity List in Power Pages or Power Portal

Change style using CSS of Entity List in Power Pages or Power Portal

You can use below CSS to change styles of an Entity List. Put the below code in the Web Template of the Web Page where you have placed the Entity List.

Here We have added Padding, Border, Border-Radius for the Entity List.

<!-- Default studio template. Please do not modify -->
<style>
 .entitylist
 {
     padding:30px;
     border-radius:20px;
 }
 .view-grid table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.view-grid table td, table th {
  border: 1px solid #ddd;
  padding: 8px;
}

.view-grid table tr:nth-child(even){background-color: #f2f2f2;}

.view-grid table tr:hover {background-color: #ddd;}

.view-grid table th,.view-grid table th a {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}
</style>

To know the exact html tag rendering of entity list, use Browser Developer Tool Inspect Element.

Hope this helps.

You can enroll now !We are giving 30% discount on our Internship Program

Don’t miss the chance to participate in the upcoming Internship Program which will be done using Microsoft Dot Net Web Development Full Stack Technology. The new batch will be starting from May 20, 2024.  We will have most experienced trainers for you to successfully complete the internship with live project experience.

Why to choose Our Internship Program?

Industry-Relevant Projects
Tailored Assignments: We offer projects that align with your academic background and career aspirations.
Real-World Challenges: Tackle industry-specific problems and contribute to meaningful projects that make a difference.

Professional Mentorship
Guidance from Experts: Benefit from one-on-one mentorship from seasoned professionals in your field.
Career Development Workshops: Participate in workshops that focus on resume building, interview skills, and career planning.

Networking Opportunities
Connect with Industry Leaders: Build relationships with professionals and expand your professional network.
Peer Interaction: Collaborate with fellow interns and exchange ideas, fostering a supportive and collaborative environment.

Skill Enhancement
Hands-On Experience: Gain practical skills and learn new technologies through project-based learning.
Soft Skills Development: Enhance communication, teamwork, and problem-solving skills essential for career success.

Free Demo Class Available