Home › Forums › Support › How to create color gradient for Primary and Secondary Menu This topic has 5 replies, 2 voices, and was last updated 5 years, 5 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 25, 2020 at 7:12 am #1503287 Chitika I am able to change the colors of the menu easily. But how to provide gradient colors for both primary and secondary navigation. October 25, 2020 at 9:01 am #1503625 DavidStaff Customer Support Hi there, you can use some CSS like this: .main-navigation { background: linear-gradient(90deg, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%); } .secondary-navigation { background: linear-gradient(90deg, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%); } You can use this site to generate the Gradient CSS: https://cssgradient.io November 5, 2020 at 6:47 pm #1519895 Chitika Thanks @David. It worked on desktop sites. But on mobile or responsive theme, I don’t see the change. Why? November 6, 2020 at 4:16 am #1520225 DavidStaff Customer Support The Mobile navigation has got the gradient, do you want the drop down menu to also display the gradient ? If so you would use this as well: .main-navigation.toggled .main-nav>ul { /* Your gradient CSS here */ } November 7, 2020 at 8:28 pm #1522147 Chitika Probably the cache was stopping to see it on my end. Yes, I see it on another mobile. The mobile menus are also having color gradient. Thanks. Make it resolved. November 8, 2020 at 6:53 am #1522616 DavidStaff Customer Support Glad to hear that! 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