Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Not able to add padding to borders of CRM entity

(0) ShareShare
ReportReport
Posted on by 675

Hello all,

I have 1 css file that is loaded on the start of the campaign page. We have applied border to the campaign sections.

qCapture.JPG

//My CSS:

.ms-crm-FormSection {
border: 0.50px solid #ccc;

padding: 15px 15px 15px 5px;
}

Now I want to add padding left 5px but that is getting override with MS CRM css (something like read.css file) see img.

//MS CRM CSS

.refresh-form .ms-crm-FormBodyContainer
TABLE.ms-crm-FormSection {
padding: 15px 15px 15px 0px;
border-spacing: 0px;
}

12408.Capture.JPG

So I am not able to give padding 5px even though I gave it in my CustomStylesheet.css file.

How to overcome it?

-Prashant 

*This post is locked for comments

  • VPrashant Profile Picture
    675 on at
    RE: Not able to add padding to borders of CRM entity

    Hello guys,

    Important didn't worked it seems.

    Any other hints or workaround?

  • VPrashant Profile Picture
    675 on at
    RE: Not able to add padding to borders of CRM entity

    Is this forum rightly assigned? I am not getting any hints. Come on CRM gurus out there.

  • VPrashant Profile Picture
    675 on at
    RE: Not able to add padding to borders of CRM entity

    Hello CRM gurus out there,

    Any hints or suggestions as how I can give some 5px padding to the section borders.

    -Prashant

  • Pujan Mehta Profile Picture
    50 on at
    RE: Not able to add padding to borders of CRM entity

    thanks for your response.I have tried but it didn't work.

  • Pujan Mehta Profile Picture
    50 on at
    RE: Not able to add padding to borders of CRM entity

    I have same problem. Can someone please give me suggestion how can we change TABLE.ms-crm-FormSection{
    } value in this tag ?

  • gdas Profile Picture
    50,091 Moderator on at
    RE: Not able to add padding to borders of CRM entity

    Hi Prashant ,

    I am sure that you are aware that changing CSS is completely unsupported,  unsupported stuff  may not work in future.

    However you could try to use important.

    stackoverflow.com/.../how-to-override-important

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans