I am a member of a homeowner association. Another member states we must follow county code rather than our own covenants which are more restrictive. Somewhere in Virginia code there must be a reference which allows homeowner associations to be more restrictive because every one I know of does so. So where does that authority come from?
Your fellow member misunderstands the fundamental reason HOAs exist. An HOA is a collection of people who have chosen to be bound by private contract (the CC&Rs) to live by stricter standards that the city/county/state, so it's already assumed you can not do certain things in an HOA that you have the right to do if you just lived by the laws of the city/county/state. Since they are a matter of private contract, courts give them a lot of deference. The entire point of an HOA is to live by stricter standards than the general law. Board members actually have personal liability if they do not enforce the CC&Rs.
We do not have an attorney-client relationship. I am not your lawyer. The statements I have made do not constitute legal advice. Any statements I have made are based upon the very limited facts you have presented, and under the premise that you will consult with a local attorney. This is not an attempt to solicit business. This disclaimer is in addition to any disclaimers that this website has made. I am only licensed in California.