@Hamzster No, no worries there. It wouldn’t be penalize for that. Not unless if you’re hidding your content through css and that would be illegal in the eyes of G.
HINT:
IF you want to see how Google see’s your page.
- Type in Google Search Box - “
cache:yoursite.com
” (without quotations) - Then click →
Text-only version
if you can see your content there, then of course, nothing to worry about because that’s what Google sees.
Note: Google put more values on “your content” not on web elements(the code).