• Resolved nubiesan

    (@nubiesan)


    Hi, I would like to not load the css from themes that I am not using. I click on the icon, click on save changes, but the next time I look, the file doesn’t show that it should not load.

    I have also tried moving css to the footer, but the setting doesn’t stay.

    Am I doing something wrong?

    Also, is there a way (other than trial and error) to figure out which files can be (a) combined and (b) moved to the footer? Should I combine the files before moving them to the footer?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @nubiesan,

    I click on the icon, click on save changes, but the next time I look, the file doesn’t show that it should not load.

    I suppose you meant the following icon?
    Screenshot from 2021-11-18 16-11-46.png

    If yes, I wasn’t able to replicate any such issue in my test site. Possible to share a screenshot of what exactly you notice on your side?

    I have also tried moving css to the footer, but the setting doesn’t stay.

    Am I doing something wrong?

    Just to be sure, you meant the settings configured in the Asset Optimization page or in the frontend where the page loads?

    Also, is there a way (other than trial and error) to figure out which files can be (a) combined and (b) moved to the footer? Should I combine the files before moving them to the footer?

    I’m afraid, it’ll require a trial and error method as the settings will vary upon from one theme to another. However, in most cases, you can enable “Compress” and “Combine” options for almost all files as these settings shouldn’t be causing an issue.

    What you need to particularly check when you enable the optimization settings ie “Compress”, “Combine” and “Move to Footer” to prevent breaking the layout of the site. If any of the above options causes the site to break the layout, revert that specific option and continue with optimizing the other files as you go on.

    Please do check and advise if I have missed out anything. Looking forward to your response.

    Best Regards,
    Nithin

    Thread Starter nubiesan

    (@nubiesan)

    Hi, you do have the correct icon.
    I am trying to prevent the css from a deleted plugin (AIOSEO). It finally reloaded, but if I click on publish changes, again nothing happens. If it reloads, the changes are lost. So far I have spent about 10 minutes this morning and nothing was saved.

    So, I can’t check if this has affected the site at all.

    I hope this screen shot works
    https://drive.google.com/file/d/1PeG78TxrtrtgVqhVtlrJVpDhO11dBQXr/view?usp=sharing

    I have cleared the cache before trying to do anything with the optimization.
    I cleared the browser cache as well.

    Is there a way to speed things up? thanks

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @nubiesan,

    It seems like the screenshot shared is private, so I couldn’t give it a look. I have requested access from incsub.com email, please grant access so that we could give a look.

    So far I have spent about 10 minutes this morning and nothing was saved.

    In general, it shouldn’t be taking so much time when publishing or making changes. Maybe the server doesn’t have enough memory? That would be one of the reasons.

    Could you please try enabling debug mode and see whether there are any errors picked and see if helps in giving a better idea on what might be slowing on your side?

    To enable it, open your wp-config.php file located in your root directory, and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add:

    
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    define( 'SCRIPT_DEBUG', true );
    

    After making the above changes, you can use Google Drive as done before to share the debug.log file.

    You can find more details about debugging here.

    Please let us know how that goes, have a nice day.

    Kind Regards,
    Nithin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @nubiesan,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unused Theme CSS Loading’ is closed to new replies.