Home › Forums › Trusted › Background color for links › Reply To: Background color for links
August 12, 2018 at 9:17 am
#5417
Yazmin
Keymaster
Hi, to change the background color of menu items only, use this CSS (change #aabbcc for your actual color):
#primary-menu a {
background: #aabbcc;
}
Add the code to Appearance > Customize > Additional CSS or to the stylesheet of a child theme.
It is not recommended to edit the theme’s style.css file directly as your changes will be undone when the theme is updated.