replace main layout style