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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Changing button color in a marketing form

(0) ShareShare
ReportReport
Posted on by 36

Hi!

Our consultants have been able to change the background color of a button in a marketing form (B). I can see the HTML code, but when I paste that paragraph in a new marketing form (A) where I also want to change the button's background color it does not work. It seems like I need another art of the code or to do something else, but I don't know what. Do you have any idea what might be missing?

2022_2D00_05_2D00_12-11_5F00_33_5F00_36_2D00_Marketing-form_5F00_-Information_5F00_-Test-_2D00_-Vintage-preference-management-_2D00_-Dynamics-365.png

2022_2D00_05_2D00_12-11_5F00_35_5F00_13_2D00_Marketing-form_5F00_-Information_5F00_-Mirage-Brand-Network-_2D00_-English-_2D00_-Dynamics-365-et-7-.png

Thanks a lot!

I have the same question (0)
  • Suggested answer
    Peter Beentjes Profile Picture
    120 on at
    RE: Changing button color in a marketing form

    Hi @Elizabeth2369,

    Does it work when you add a button from the toolset and change it from there?

    Maybe this will help you. 

    Schermafbeelding-2022_2D00_05_2D00_12-om-23.29.00.png 

  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: Changing button color in a marketing form

    Hi,

    The first code snippet you provided is the CSS style in the <head> part of the HTML while the second one is in the <body>.

    Please refer to the following two blogs to know more about the Priority of the style.

    HTML Priorities: Understanding HTML Behavior (tizen.org)

    Priority of CSS Values For an HTML Document (c-sharpcorner.com)

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 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans