cbhstudio Posted June 24 Posted June 24 Hello, I'm currently working on updating this website and I need the "Contribute" button to have the same color and outline in both Desktop and Mobile views. The previous designer added custom CSS for the Desktop button. (see below), and now I need to add additional CSS for the mobile button. However, I'm not sure what selector to use for the mobile button. /*Set Button Color */ .header-actions .btn { color: #47166A; background-color: #feae00 !important; font-weight: bolder !important; } /*Set Button Color */ .header-actions .btn:hover { color: #48166b; background-color: #feae00; } body { border:0px solid #ffffff; }
Solution Lesum Posted June 24 Solution Posted June 24 @cbhstudio Hi! You can add this code under Custom CSS to target the mobile button .header-menu-cta .btn { color: #47166A !important; background-color: #feae00 !important; font-weight: bolder !important; } .header-menu-cta .btn:hover { color: #48166b !important; background-color: #feae00 !important; } 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?
cbhstudio Posted June 25 Author Posted June 25 Thank you so much, Lesum, for your response. The code worked perfectly:-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment