Title: Custom CSS location
Last modified: February 28, 2023

---

# Custom CSS location

 *  Resolved [ac1643](https://wordpress.org/support/users/ac1643/)
 * (@ac1643)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/custom-css-location-3/)
 * Hi there, could you tell me where the user inputted custom CSS is stored, whether
   in a file, database or something else? I’m looking to see if there is a way I
   can change the custom CSS across all websites automatically rather than logging
   into each one and doing it manually. Do you think this is possible based on the
   plugin setup?
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [cusmin](https://wordpress.org/support/users/cusmin/)
 * (@cusmin)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/custom-css-location-3/#post-16518201)
 * Hi,
 * If you’re looking for only custom CSS from the advanced field, you can use this
   option from wp_options table “agca_custom_css”
   If you look for all other custom
   CSS, you’d need to search for all fields that start with “agca_” keywoard in 
   wp_options tableYou can either create a SQL query to fetch all of that data on
   DB level, or if you prefer more UX way, you can use wp-cli where you can fetch
   and push wp options values, and create a script that will do this automatically
   for you from the command line.This way you can create an automatic import/export
   script using wp-cli, and share across different environments and also automate
   it in a process if you handle the high volume of WP sites.Otherwise, if there’s
   just a handful of sites you manage, export/import feature in Advanced tab is 
   maybe a better option.Hope this helps!
    -  This reply was modified 3 years, 3 months ago by [cusmin](https://wordpress.org/support/users/cusmin/).
    -  This reply was modified 3 years, 3 months ago by [cusmin](https://wordpress.org/support/users/cusmin/).
 *  Thread Starter [ac1643](https://wordpress.org/support/users/ac1643/)
 * (@ac1643)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/custom-css-location-3/#post-16519359)
 * Thanks for that comprehensive response, just what I wanted to know. Really appreciate
   it. I’ve got about 30 sites so looking to create an automated solution. I haven’t
   got around to using wp-cli yet so now seems like a good time, and if there’s 
   any problem with that I’ll use SQL.
    -  This reply was modified 3 years, 3 months ago by [ac1643](https://wordpress.org/support/users/ac1643/).
 *  Plugin Author [cusmin](https://wordpress.org/support/users/cusmin/)
 * (@cusmin)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/custom-css-location-3/#post-16521386)
 * Thanks for the update! Yes wp-cli is probably the best way to do this since you
   have 30+ sites, and with the automation it’s easier to maintain it later, in 
   case you want to update one site and apply the change to all others. Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom CSS location’ is closed to new replies.

 * ![](https://ps.w.org/ag-custom-admin/assets/icon.svg?rev=2928712)
 * [AGCA - Custom Dashboard & Login Page](https://wordpress.org/plugins/ag-custom-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ag-custom-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ag-custom-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/ag-custom-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ag-custom-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ag-custom-admin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cusmin](https://wordpress.org/support/users/cusmin/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/custom-css-location-3/#post-16521386)
 * Status: resolved