You should not be modifying any of the theme’s files directly. If the theme gets updated because of feature enhancements, bug fixes, or security patches, or if the theme has to be updated because of a change to the WordPress core, then your changes will be lost. Instead, either create a child theme and add your menu’s CSS to your child theme’s style.css file, or use a CSS plugin like Jetpack or Custom CSS Manager and add your CSS that way.
I’m surprised, though, that you would have to code your own horizontal menu. Most themes have horizontal menus by default, and you only need to go to Appearance → Menus to set up the specific menu items that you want. Or are you adding your own custom menu in addition to the theme’s menu?
Hi,
yes, I have a nice theme, but would like to build on top of it.
I will try to do some of the things you suggest.
Best
Anna