You don't. You make what you like, and target it at people who like what you like.
If you make a story containing homosexual characters, homophobic readers will be turned off.
If you make a story without homosexual characters, homosexual readers may feel disinterested to read it.
If you make a story without violence, gore fans may get bored.
If you make a story with violence, readers who only like romance and comedy will be disinterested.
If you make a story that has everything, it will only appeal to people who have no problem with anything. And those aren't everyone.
So, theoretically, while you CAN have everything in your story, it won't catch the interest of everyone, because some readers do NOT want a story to have everything. Remember that 'a jack of all trades is a master of none'.
Also, if you DID make a story that has everything and everyone would be inclined to read it, you need to have the appropriate quality to keep their interest.