Faq

pre Can elements be made to appear differenty in view mode then in e.g. radio mode?

Can elements be made to appear differenty in view mode then in e.g. radio mode?

Yes, the mode is added to the class list of the floorplans, so you can use this in your CSS.

Example

/* 
 * assuming you want to have gray elements in view mode also 
 * note: data-availability is only available in pro version
*/

.floorplan.view 
	.wp-block-floorplans-element:not([data-availability="available"])
	.avatar{
		border-color: rgba(180,180,180,1)!important;
		background-color: rgba(238,238,238,0.5)!important;
}
filed under: