theme and header calc