Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How do I add a background color to a specific section

  • #7586
    Avatar photo[anonymous]

    I was thinking of making something like this.

    But currently, it’s coming like this only. Any idea on how to implement this.

    #7719
    Avatar photo[anonymous]

    Hi!

    I just have a few questions for you to get more context:

    • Which editor are you using?
    • What type of content is it? (ie: if you’re using the Block Editor, what kind of Block are you using? If you’re using the WYSIWYG editor, what formatting have you applied to the content)
    #7738
    Avatar photo[anonymous]

    Never mind, I got it working. I added an id attribute to the div tag, declared it globally, and specified everything in it. Thanks for the help anyway 🙂