niteshifte Posted August 14, 2023 Share Posted August 14, 2023 Hi there, Is it possible to adjust the line spacing (leading) for the dropdown menu? I want to space it out a bit more. It would also be great to add a thin stroke to the menu to help it stand out from the background a bit better. Thanks! https://www.stlukes.ie/home Link to comment
Lesum Posted August 14, 2023 Share Posted August 14, 2023 @niteshifte Here's a code snippet to add line spacing and outline to dropdown menu: .header-nav-folder-item { line-height: 1.8 !important; } .header-nav-folder-content { padding: 1em 1em !important; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); } niteshifte 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
niteshifte Posted August 14, 2023 Author Share Posted August 14, 2023 4 minutes ago, Lesum said: @niteshifte Here's a code snippet to add line spacing and outline to dropdown menu: .header-nav-folder-item { line-height: 1.8 !important; } .header-nav-folder-content { padding: 1em 1em !important; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); } Incredible!! Thanks so much Sam!! Whilst I have you Sam, is there a code I can add to this to round the corners of the drop down? Thanks again! Lesum 1 Link to comment
Solution Lesum Posted August 14, 2023 Solution Share Posted August 14, 2023 Here's is the updated code with rounded corner: .header-nav-folder-item { line-height: 1.8 !important; } .header-nav-folder-content { padding: 1em 1em !important; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); border-radius: 5px !important; } tuanphan 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
niteshifte Posted August 14, 2023 Author Share Posted August 14, 2023 1 minute ago, Lesum said: Here's is the updated code with rounded corner: .header-nav-folder-item { line-height: 1.8 !important; } .header-nav-folder-content { padding: 1em 1em !important; -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.45); border-radius: 5px !important; } Genius Sam! Thanks so much!! Lesum 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment