Keeping hair fixed with a hat.

Griffith asked 3 months ago

I don’t know what kind of hair I have, besides it is straight and I have a double crown.
I have tried clay and gel and hate it, I’ve found that Old Spice Pomade makes my hair exactly how I like- except, when I put a hat on and take it off, it’s like I never put any product in the first place.
 
So basically I avoid wearing hats now, whereas I used to do it all the time when I was practically bald. What is a product like pomade that is stronger through hat wearing?