The shorter your stack gets, the wider your hand range should be. So, don't play less hands, play more.
this is incorrect...
In actual fact, once we're in the 18-30bb zone, we're often needing to fold alot of hands we'd be playing if we were even just a bit deeper.
OP, you just need to adjust your play according to the size of your stack vs. the size of the blinds & vs. the other 'effective' stack sizes on your table (looking at the lobby to see if we're 'above avg.' or 'just over avg.', 'just below avg.', etc. means nothing at all.
There's a great series of articles written by Tony Dunst (Bond18) from quite a few years ago (well before he became known on TV with WPT ). One of them inparticular is called "Part 1 Stack Sizes" & it comes from an excellent series called "things it took me a while to learn" (there's ~18 parts in total)
I'm going to give a few points here from the article to give you an idea (his article is only 1 page long)
10bb's - (& under). any hand we're playing with this stack size will be allin (& actually in games with antes & also current play, 15bb's is often an open shove)
14-21bb's with a stack of this size, we can't really be opening with the intentions of folding to a 3bet. This stack size is actually ideal for 're-stealing'.
22-30bb's We obviously have more room for open-raising here & we're too deep to be restealling allin.
31-40bbs With this stack size we can open raise often (but also dependent upon our table... if we're playing vs. some aggressive players we'll need to adjust our play accordingly)
With a stack of this size it's important to understand that if we're choosing to 3bet vs. villain we need to do so with the intentions of calling their 4bet allin.(especially if we are 35bb's or under) as we'll be getting too great of a price to fold. "BUT" at the same time, 'if' villain is aware of this then we can actually 3bet steal (but this is the levelling game & probably not important in micro levels or for novice players).
Keep in mind what we think our opponents know about 'stack sizes' and adjustments that need to be made based on what we think... they think. (etc. etc.)
hope this helps