I just updated my SSL certificate and now my site looses formatting when

You could also add some rules to your .htaccess file to rewrite all http:// URLs to https://

This article from CSS Tricks explains what else you can do to move a WordPress site completely to https://

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)