Support » Plugin: Maintenance » Background Image repeats itself

  • Resolved mozalan

    (@mozalan)


    First of all, many thanks for this beautiful plugin! – apart from being so great 🙂 I’m not able to stop this background image from repeating itself.

    It would be very useful if you could make this change and give users an options like CENTER, REPEAT or NO-REPEAT… so it background image could be aligned accordingly.

    Now, how do I stop it doing that with current version? 🙂

    Many thanks in advance!

    http://wordpress.org/extend/plugins/maintenance/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think I’ve done it myself..

    maintenance/lib/index.php

    <?php if ( $mt_lib['body_bg'] || $mt_lib['body_bg_color'] ): ?>
    			<style type="text/css">
    				body { background:
    					<?php echo $mt_lib['body_bg_color']; ?>
    						<?php if ( $mt_lib['body_bg'] )  {
    								echo "url({$mt_lib['body_bg']}) no-repeat scroll 0 0";
    								} else {
    								echo 'url('. PLUGIN_URL . LIB_DIR . '/images/theme-bg-default.jpg' .') no-repeat scroll 0 0';
    								} 
    
    								?>;}
    
    			</style>
    <?php endif; ?>

    It was “repeat-x”, just replace it with “no-repeat” and it will be sorted afterwords.

    Hope it helps,

    Thanks again!

    Plugin Author Fruitful Code

    (@fruitfulcode)

    Resolved in version 2.0

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Background Image repeats itself’ is closed to new replies.