idiom
Talk through your hat
Hablar tonterías o sobre algo que uno sabe poco.
Meaning
To speak nonsense or about something one knows little about.
Example
He was **talking through his hat** about quantum physics.
Él estaba **hablando sin saber** sobre la física cuántica.