Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter crimay71

    (@crimay71)

    Nevermind, found the CSS under the background edited class.

    Hello crimay71,

    Wow… nice maintenance page! ?? As I see you modified the plugin files and next time you’ll update the plugin all these edits will disappear.

    I recommend to:
    1. use wpmm_styles and add your own css style (and unset the one from plugin)
    2. copy maintenance.php from /views/ (plugin folder) to /wp-content/ and rename it to wp-maintenance-mode.php.

    Using this tricks the edits will remain after you update the plugin.

    Thanks.

    Thread Starter crimay71

    (@crimay71)

    Thanks. I was trying to find a better way to make changes to the plugin so they wouldn’t get deleted on upgrade.

    Just to clarify, wpmm_styles: I create this file, add my changes, and put in the assets>css folder? Do I need to make reference to it in the maintenance file head?

    Thanks for your help.

    Hello,

    You can put the css into your active theme and load it by placing a snippet like this into functions.php of your theme:

    function dm_css_styles($styles) {
        $styles['new-style'] = 'path_to_css_file/style.css'; // replace with the real path :)
    
        return $styles;
    }
    
    add_filter('wpmm_styles', 'dm_css_styles');

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Subscribe Form Text Not Displaying’ is closed to new replies.