Home › Forums › Support › Shadow hover on every button This topic has 5 replies, 3 voices, and was last updated 3 years, 2 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts February 20, 2023 at 12:37 am #2539413 Manpreet I want to add a shadow effect on every button on my website, including the post-comment button in the comment area. Also, provide code for hover shadow effect on each button. February 20, 2023 at 1:26 am #2539456 Fernando Customer Support Hi Manpreet, For reference, can you provide the link to the site in question? You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information February 20, 2023 at 2:14 am #2539500 Manpreet https://animefirm.com/top-5-isekai-anime-in-january-2023/ February 20, 2023 at 4:34 am #2539682 DavidStaff Customer Support Hi there, try this CSS: button, a.button, a[role="button"], input[type="submit"] { box-shadow: 0px 5px 7px 0 rgba(0,0,0,0); transform: translateY(0); transition: all 0.3s ease !important; } :is(button, a.button, a[role="button"], input[type="submit"]):hover { box-shadow: 0px 5px 7px 0 rgba(0,0,0,.25); transform: translateY(-2px); } February 20, 2023 at 6:44 am #2539824 Manpreet Can you also provide me with CSS code to create this hover shadow effect for featured images on the homepage of the website February 20, 2023 at 9:45 am #2540160 DavidStaff Customer Support Try this CSS: .content-area .inside-article .post-image img { box-shadow: 0px 0px 16px 0px rgba(0,0,0,0); transition: all 0.3s ease-in; } .content-area .inside-article .post-image img:hover { box-shadow: 0px 0px 16px 0px rgba(0,0,0,.25); } 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