If your hosts have been helpful enough to mention the intended dress code for their wedding, your outfit selection should start there. If the invitation doesn’t specify a dress code, it is completely ok to just ask the couple (or someone in the wedding party) what the dress code is. They’ll be happy to tell you, especially if the dress code they’re expecting is a very specific one.
Assuming you are not in the wedding party (in which case you have a different role to play on this Special Day), the things you should be looking to achieve with your outfit are probably the following:
- To blend in, mostly, with what other guests are wearing.
- To adhere to the etiquette, formality level and physical specifics (i.e. season, weather, ground surface) of the wedding’s location.
- To feel comfortable so that you can focus on enjoying the celebration and having fun with your friends and family.
The following advice takes as an assumption that those are your goals.