NO BUG: After adding Hover styles - Layout breaks & can't copy ID styles

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: (https://wordpress-958570-3589351.cloudwaysapps.com)
Video: Loom | Free Screen & Video Recording Software | Loom

Hi guys

Cant really figure out what happened. But since I applied a hover style in the text the whole layout broke. In the builder and preview everything looks fine but live it completely broken. I cleared all caches and reversed the hover stlye setting - nothing changed. What could be the error?

And I wanted to copy some ID styles to a class so that I can apply that to other elements but unfortunately it always says “Nothing to paste” but obviously I had style changes. Or am I missing something?

Best regards
Philipp

Hi Philipp,
A closing parenthesis is missing, which destroys the following CSS:

See if the pasting works again after fixing the issue.

Best regards,
timmse

Hi timmse

Thank you very very much! Everything works.

So sorry for my mistake! Next time I’ll try to be more thorough :wink:

Best regards
Philipp

No problem. This can always happen in the heat of the moment. If, at a certain point, styles don’t work anymore, you can easily search for the error if you use inline styles:

Copy all inline styles from the front end and paste them into a code editor that checks the code for errors (e.g. Visual Studio Code). In the case of VS code, you will see the errors/notices at the bottom left :slight_smile:

Much appreciated your tip! I will use that next time :wink: