Hi
IN below code i want background color to be primary .
Code
AddThanks
Hi
IN below code i want background color to be primary .
AddThanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Aman GuptaRank #193 · 12.4K reputationPosted Aug 24, 2024, 4:35 AM EDT
Hi Ramco,
To change the background color of the button to the primary theme, you can replace the
bg-infoclass withbg-primary. Here’s the updated markup:bg-primary: This class sets the background color of the button to the primary theme color defined in your CSS framework (e.g., Bootstrap).This will apply the primary theme background color to your button.
Gowtham CpRank #1,552 · 1K reputationPosted Aug 23, 2024, 1:40 PM EDT
Change Made: Replaced bg-info with btn-primary to make the button background primary color.
Hope it helps!