convert layout to discount theme style