Home > widget-integration > CollectionHeaderSettings

CollectionHeaderSettings type

Signature:

export type CollectionHeaderSettings = {
	isEnable: boolean;
	layout: 1 | 2 | 3 | 4;
	contentPosition?: Positions;
	elements?: {
		collectionImage?: {
			size?: "small" | "medium" | "large" | "original";
			parallaxEffect?: boolean;
			directionParallax?: "vertical" | "horizontal";
			isEnable?: boolean;
		};
		collectionTitle?: {
			isEnable?: boolean;
			collectionTitleColor?: string;
			fontFamily?: string;
			fontStyle?: string;
			fontWeight?: string | number;
			fontSize?: string | number;
			textAlign?: string;
			textTransform?: string;
		};
		breadCrumb?: {
			showCollectionTitle?: boolean;
			showCollectionList?: boolean;
			showPagination?: boolean;
			placement?: string;
			alignment?: string;
			fontSizeScale?: number;
			fontFamily?: string;
			fontStyle?: string;
			textTransform?: string;
			color?: string;
			isEnable?: boolean;
			fontWeight?: string;
		};
		productCount?: {
			fontSizeScale?: number;
			fontFamily?: string;
			fontStyle?: string;
			textTransform?: string;
			color?: string;
			isEnable?: boolean;
			fontWeight?: string;
		};
		collectionDescription?: {
			fontSize: string | null;
			isEnable: boolean;
		};
	};
};

References: Positions