web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Marketing form - Change color of check box

(0) ShareShare
ReportReport
Posted on by 175

Hi, I want to change the background-color of a standard checkbox in a marketing form (it's a subscription list checkbox).

However, I have changed the color/background/background-color on almost every css and div properties in the html without being able to access the checkbox, any help of how I can achieve this?


Thanks

I have the same question (0)
  • Verified answer
    Haig Liu Profile Picture
    Microsoft Employee on at

    Hi Poja D365,

    Please put the following code between <style></style>

    input[type='checkbox'] {
    position: relative;
    cursor: pointer;
    width: 12px;
    height: 12px;
    font-size: 12px;
    }
    input[type='checkbox']:checked::after {
    position: absolute;
    top: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 12px;
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background-color: green;
    border-radius: 2px;
    }

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans