Skip to main content
13-Aquamarine
July 10, 2023
Solved

CSS for 2D Views background doesn't show up on a preview but appears on design view

  • July 10, 2023
  • 1 reply
  • 1236 views

Hi Dear Community,

Please advise how I can fix my CSS issue with of the background color for all Views.

For some reason, my CSS color appears only on the design view but doesn't show up in the preview.

This is how it looks from a design view: background code appears

IB_10645210_0-1689012084822.pngIB_10645210_1-1689012105183.png

 

IB_10645210_2-1689012129113.png

But this is how the same code looks in a preview mode: background doesn't show up

IB_10645210_3-1689012181851.png

I don't understand why background css doesnt appear in a preview /publish mode.

Thank you!

 

Best answer by IB_10645210

Fixed. The solution is to set up a class to the grid not to the view.

1 reply

IB_1064521013-AquamarineAuthorAnswer
13-Aquamarine
July 11, 2023

Fixed. The solution is to set up a class to the grid not to the view.