#mainNavigation a[href*="/home"], #mobileNavigation a[href*="/home"], #mainNavigation a[href*="/contact"], #mobileNavigation a[href*="/contact"] { display:none; }