Support » Plugin: Full Background Manager » Wrong defaults

  • derrickr

    (@derrickr)


    Seems broken: I thought the whole point of this plugin was to provide the capability to have an image that could be used for pages / posts background (rather than just a small portion of it).
    How can I change the defaults so that it’s always: ‘fixed’ and ‘no-scroll’.
    Also, the background-size is always set to ‘auto’ and I’d like to make it ‘cover’.

Viewing 1 replies (of 1 total)
  • Hey. I adjusted this plugin a bit and got the setting and size completely.
    There is an archive here ->click
    as you download, sign off here that this is not fake, others will be grateful.

    I’m not sure what other changes will need to be made in the scripts but in the file
    http://Www.youdomain.com/wp-includes/theme.php
    do you find this:

    // Background Repeat.
    $repeat = get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) );
    if ( ! in_array( $repeat, array( 'repeat-x', 'repeat-y', 'repeat', 'no-repeat' ), true ) ) {$repeat = 'repeat';}
    $repeat = " background-repeat: $repeat;";

    and over it, you put it:

    // Background Size.
    $size = get_theme_mod( 'background_size', get_theme_support( 'custom-background', 'default-size' ) );
    if ( ! in_array( $size, array( 'auto', 'contain', 'cover' ), true ) ) {$size = 'auto';}$size = " background-size: $size ;";

    like everything, just did on the fast and nebylo time to write and memorize=)

    • This reply was modified 1 year, 11 months ago by doi7ing. Reason: forgot insert link =)
Viewing 1 replies (of 1 total)
  • The topic ‘Wrong defaults’ is closed to new replies.