cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

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

IB_10645210
12-Amethyst

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

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!

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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

Top Tags