Home › Forums › Support › How to add text shadow This topic has 5 replies, 3 voices, and was last updated 3 years, 4 months ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts December 18, 2020 at 9:01 am #1586176 Ben Hey guys, How would I add a text shadow? Thanks December 18, 2020 at 10:20 am #1586295 YingStaff Customer Support Hi Ben, We can use some CSS to style that content. First add a custom class to the text, eg. text-shadow then add this css: .text-shadow { text-shadow: 1px 2px 5px rgba(0,0,0,0.8); } Adding CSS: https://docs.generatepress.com/article/adding-css/ If you need further assistance, please link us your site using the private info field. 🙂 December 20, 2020 at 11:28 pm #1588748 Ben That’s worked on desktop but it doesn’t work on mobile? Any ideas? Thanks December 20, 2020 at 11:39 pm #1588758 ElvinStaff Customer Support Hi, That’s worked on desktop but it doesn’t work on mobile? That’s due to the CSS being placed within a @media (min-width:769px) { ... } rule. Place the code provided outside of the media rule so it applies to all viewports. December 21, 2020 at 2:08 am #1588869 Ben Ahh OK, thanks December 21, 2020 at 10:19 am #1589706 YingStaff Customer Support No problem 🙂 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