Show different website layout if no sidebar added

You can use is_active_sidebar() as a condition to enqueue your styles. It does precisely that — tells you if it has any widgets assigned.

PS stop function_exists() madness 🙂 that is completely pointless check in modern WordPress.

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