How to edit wordpress native gallery’s css file?

If you want to override the default gallery CSS, first, unhook the core-defined CSS:

add_filter( 'use_default_gallery_style', '__return_false' );

Then, you can add your own CSS, however you wish – using your Theme style.css, or via separate CSS file that you enqueue, etc.

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