Skip to content

css background-color is not working #138

Closed

Description

@jAlinsugay

Hi,

I have problem here in my html Renderer, the background color is not working when rendering it to pdf.

.compontent-block h2 {
background: #0072BA;
}

Your Help is very appreciated.

Activity

  1. jAlinsugay commented on Sep 24, 2018

    @jAlinsugay
    Author

    just never mind this. its working when you specified the css attribute.
    it doesn't work in background but it works in background-color

  2. eXpl0it3r commented on Nov 23, 2026

    @eXpl0it3r
    Collaborator

    Fixed with #244, the background shorthand sets the background color now. Closing this, but feel free to reopen with a repro if it still happens with 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions