- This topic has 6 replies, 2 voices, and was last updated 6 days, 22 hours ago by
Sebastian.
Author | Posts |
---|---|
Martin_1
September 18, 2025 at 5:36 pm
|
Hi, I used Microthemer to adjust 4 things on my site. When I copy the generated CSS to my theme’s CSS field and then in the preferences of Microthemer on the Inactive tab mark Upon uninstall delete all data to yes and deactivate and delete the plugin the CSS doesn’t work any longer. When I keep the plugin alive but just delete the created CSS in the General folder in Microthemer, so the css doesn’t exist any longer IN Microthemer the CSS in my Theme’s CSS field works. Why would either of these things happen? |
Sebastian
September 19, 2025 at 9:41 am
|
Hey Martin, It’s possible that your CSS targets a class Microthemer adds to the body tag. This is one of the reasons I recommend using the official way of loading Microthemer assets without having MT installed – copy some code to your theme’s functions.php file or use the Microloader plugin. For instructions / Microloader download, go to:
Doing that will ensure that classes are added, Google fonts are loaded, etc. If you would still prefer to just copy the CSS over to your theme, I can help you identify where you need to adjust your CSS. Just post the CSS rules here. Thanks! |
Martin_1
September 25, 2025 at 5:16 pm
|
Hi Sebastian, Sorry for my late reply. It’s a mad house here. For now I’ll stick with adding the code to the functions.php. That way if I ever need to re-install Microthemer it will pick up where I left I assume. |
Martin_1
October 10, 2025 at 2:48 pm
|
Hi Sebastian, Suppose I need to adjust or add some CSS now. What is the best way of going about it? Remove the code from the functions.php and change or add to the code in Microthemer and then again add it to the functions.php? If I remove it from functions.php will what I have already done be back in Microthemer or will it all be gone? |
Sebastian
October 13, 2025 at 8:51 am
|
Hey Martin, Sorry for the slow reply, I’ve just come back from holiday. The code you copied to your functions.php has a condition check – so it only runs if Microthemer is not active. This mean you can set and forget the functions.php code. Re-install/re-activate Microthemer any time, make your edits, then uninstall Microthemer again. The settings are saved in the database, and the files are stored in /wp-content/micro-themes (not wp-content/plugins/microthemer). So when uninstalling Microthemer, you don’t lose anything. And the settings are not dependant on your functions.php code, that just loads the assets in /micro-themes. Does that make sense? Cheers, |
Martin_1
October 13, 2025 at 10:39 am
|
Hey Sebastian, No worries. We all need a break now and then. Your explanation was fine and it worked perfectly. Thanks for the help :-)! Martin |
Sebastian
October 13, 2025 at 1:24 pm
|
You’re welcome, thanks for confirming. |