Home › Forums › Support › How to Add Shadow to Header and Primary Menu for both desktop and mobile version This topic has 5 replies, 3 voices, and was last updated 5 years ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts December 16, 2018 at 7:53 pm #758605 Rajesh Hi, Will you please share CSS to add shadow to the header and primary menu like this site http://www.kerrycricket.com/. And I want to know how to add the same shadow for the mobile version. December 16, 2018 at 8:19 pm #758612 LeoStaff Customer Support Hi there, Give this CSS a shot: .site-header, #mobile-header { -webkit-box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); -moz-box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know ๐ December 16, 2018 at 8:21 pm #758613 Rajesh Thank you, it has worked. December 16, 2018 at 8:22 pm #758615 LeoStaff Customer Support No problem ๐ April 5, 2019 at 5:51 am #860418 Rajesh Hai, This code is not showing shadow in the mobile header, earlier it has worked but now it is not working. So please help me. April 5, 2019 at 8:56 am #860723 DavidStaff Customer Support Hi there, Try this: .site-header, #mobile-header { -webkit-box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); -moz-box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); box-shadow: 0px 2px 8px 0px rgba(50,50,50,0.08); position: relative; z-index: 1; } Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In