Changing text box background colour?

  • 1
  • Question
  • Updated 8 years ago
How do I change the colour of the background in a text box? For example, if you wanted a white background as the main colour, then a black area where white writing is put. ?
Photo of Darren


  • 1 Post
  • 0 Reply Likes
  • lost

Posted 8 years ago

  • 1
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hello Darren

So you would like all of your text widgets on the page to have a black background with white text? If so, you will need to use an HTML widget to make style all of them, but it will be easy.

So first, drag over an HTML widget and paste this into it:

<style type="text/css">
p {
background-color:black !important;
color:white !important;

Then click on SAVE.

Now save your page and preview it. If all of the text widgets have a black background then it worked!

Please let me know if this works.