Harry Styles. Picture: Instagram

One Direction star Harry Styles helped a fan come out as queer to her mother during his concert in San Jose, California on Wednesday night.

The One Direction star was playing a solo show at the SAP Center in San Jose, California on Wednesday night when he noticed a girl holding a sign in the crowd which caught his eye.

The poster read: "I'm gonna come out to my parents because of you."

According to social media posts from fans at the concert, Harry looked at the sign, asked what the mum's name was, and said: "Tina, she's gay."

The 'Sign of the Times' hitmaker also made the concert a special -and amusing - one for another member of the audience, as he tried to guess the gender of the pregnant fan's unborn baby.

It is a mystery to everyone, but the 24-year-old singer made a prediction as he led the crowd in a rendition of 'Happy Birthday' after saying: "Congratulations to Rachel and your son."

Harry is currently on tour - a run which includes 89 shows across Europe, North America, South America, Australia and Asia - and earlier this month he was honoured with the Best Live Act prize at Nordoff Robbins' O2 Silver Clef Awards.