Angular-gridster2: Background Color of Gridster

Created on 19 Dec 2017  路  5Comments  路  Source: tiberiuzuld/angular-gridster2

Is it possible to change the grey color of the background to something else?
I could not find a way to do it.

capture

question

Most helpful comment

@aren5a : You don't need any parameter from gridster. While calling gridster as shown here, you can add
style="background-color:<color_of_your_choice>"
By adding color of your choice, you can change the background-color.

Let me know if it doesn't work for you.
Thanks

All 5 comments

@aren5a : You don't need any parameter from gridster. While calling gridster as shown here, you can add
style="background-color:<color_of_your_choice>"
By adding color of your choice, you can change the background-color.

Let me know if it doesn't work for you.
Thanks

Hi @aren5a ,
Override from css, with ::ng-deep if necessary.
Or how @yugi03 said.

Thanks

@yugi03 : Yes, it worked thanks.
@tiberiuzuld : Thanks

I also applied background-image for gridster2 by setting property in CSS

Thanks. Same story for the gridster-item.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

klemenoslaj picture klemenoslaj  路  4Comments

jayoma picture jayoma  路  3Comments

samarsiraj picture samarsiraj  路  3Comments

Abdullah-96 picture Abdullah-96  路  5Comments

leandro-ali-elel picture leandro-ali-elel  路  4Comments