FrameMarket/GridMarket – Background Image Upload Issue

I am running the latest version of FrameMarket/Gridmarket and setting up same on a MU installation with Marketpress.

No other plugins are running at this time.

In setup for the child theme I am attempting to set a background image and/or change the background color.

I had previously set the color to: #dfebe6

I have removed that color with the background upload tool and the preview (after save) shows a white background. The front end background color has not changed.

I then attempted to upload a 1440px x 900px test background image which you will see in my screenshot below. This image seems to have been reduced upon upload as you can see.

The site is: http://marine/ac.com/marketplace

Wordpress is the latest version, it is a brand new clean install.

Any suggestions?

[attachments are only viewable by logged-in members]

  • Tammie
    • WordPress Wizard

    In the previous ticket which sorry Fondeli you probably didn’t see I covered this.

    It does take you just have to remove the background colour from the element using the child style sheet ie;

    #site-wrapper{background-color: none;}

    Or something similar.

  • Philip John
    • DEV MAN’s Apprentice

    Hiya!

    I’m a little confused by your initial post – I’m struggling to understand where you have the background set.

    Are you using theme options, or child CSS stylesheet?

    Also, the URL you’ve given isn’t formatted correctly so I’m having trouble checking. Could you provide the correct URL and I’ll take a look.

    Thanks,

    Phil

  • Philip John
    • DEV MAN’s Apprentice

    Thanks.

    I’ve had a look at your site and compared it to my test site (using the unmodified gridmarket child).

    I see inline CSS of this;

    <blockquote>body {
    background-image: url('http://example.com/wp-content/uploads/2011/09/background.jpg');
    background-repeat: repeat;
    background-position: top left;
    background-attachment: scroll;
    }</blockquote>

    Where as there is no such inline CSS in yours.

    That suggests to me that your child is missing the code that inserts the CSS relating to the background image.

    Compare your code with the latest copy of gridmarket to see what’s missing.

    Cheers,

    Phil

  • iBusinessLogic
    • Design Lord, Child of Thor

    Phil,

    If you refer to my previous issue with a clean install of Framemarket/gridmaket and confer with Tammie you will see that I have updated to her latest versions of the theme with all updates she has applied to resolve the other issues. I have not edited an CSS or code at all.

    Previous thread: https://wpmudev.com/forums/topic/gridmarket-setup-error-invalid-argument

    Is it possible something was left out of her recent updates to the theme? She was working hard at resolving my issues and did a great job on finding everything I noted issues with and resolving them but maybe something was changed in that process?

    Just so you both know, the theme background update worked before the last update was applied.

  • Tammie
    • WordPress Wizard

    I left nothing out as said before I can’t replicate on my test installations any of the issues you are experiencing with the custom background. This is why I’ve asked Phil to come and he again confirmed he can’t and is trying to find the difference in your install.

    I’ll leave it to Phil with that information you provided.

  • iBusinessLogic
    • Design Lord, Child of Thor

    Phil,

    Contents of my header.php

    <!DOCTYPE html>

    <html <?php language_attributes(); ?>>

    <head>

    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />

    <?php include (get_template_directory() . ‘/buddypress/buddypress-globals.php’:wink:; ?>

    <title><?php wp_title( ‘|’, true, ‘right’ ); bloginfo( ‘name’ ); ?></title>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <?php do_action( ‘bp_head’ ) ?>

    <?php endif; ?>

    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />

    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />

    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />

    <?php wp_head(); ?>

    <?php include(get_stylesheet_directory() . ‘/custom-styles.php’:wink:; ?>

    </head>

    <body <?php body_class() ?>>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <?php do_action( ‘bp_before_header’ ) ?>

    <?php endif; ?>

    <div id=”header-wrapper”>

    <div id=”header”>

    <?php if ( class_exists( ‘MarketPress’ ) ) {

    ?>

    <div id=”cart-contents”><?php _e( ‘Cart:’, TEMPLATE_DOMAIN ) ?> <span><?php echo sprintf(__(‘%s item(s)’, TEMPLATE_DOMAIN ), mp_items_count_in_cart()); ?></span></div>

    <div id=”mp-cartsmall”>

    <div id=”toggle”>

    <?php _e( ‘View Cart’, TEMPLATE_DOMAIN ) ?>

    <?php _e( ‘Hide Cart’, TEMPLATE_DOMAIN ) ?>

    </div>

    </div>

    <?php if ( is_multisite() ) {?>

    <?php

    $options = get_option(‘framemarket_theme_options’:wink:;

    $showpicker = $options;

    if ($showpicker == “Yes”:wink:{

    ?>

    <div id=”mp-storepicker”>

    <?php _e( ‘Pick a store:’, TEMPLATE_DOMAIN ) ?>  <?php framemarket_listall_shops(); ?>

    </div>

    <?php } ?>

    <?php } ?>

    <?php

    }

    ?>

    <div id=”search-bar”>

    <?php get_search_form(); ?>

    </div>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <?php if ( bp_search_form_enabled() ) : ?>

    <div id=”buddypress-searchbar”>

    <form action=”<?php echo bp_search_form_action() ?>” method=”post” id=”search-form”>

    <input type=”text” id=”search-terms” name=”search-terms” value=”” />

    <?php echo bp_search_form_type_select() ?>

    <input type=”submit” name=”search-submit” id=”search-submit” value=”<?php _e( ‘Search’, ‘buddypress’ ) ?>” />

    <?php wp_nonce_field( ‘bp_search_form’ ) ?>

    </form><!– #search-form –>

    <?php do_action( ‘bp_search_login_bar’ ) ?>

    </div>

    <?php endif; ?>

    <?php endif; ?>

    <div class=”clear”></div>

    </div>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <?php do_action( ‘bp_header’ ) ?>

    <?php endif; ?>

    </div>

    <?php if ( class_exists( ‘MarketPress’ ) ) {

    // sliding shopping cart

    ?>

    <div id=”panel”>

    <div id=”panel-inner” class=”mp_cart_widget”>

    <?php echo mp_show_cart(‘widget’:wink:; ?>

    <div class=”clear”></div>

    </div>

    <div class=”clear”></div>

    </div>

    <?php

    }

    ?>

    <div id=”branding-wrapper”>

    <div id=”branding”>

    <div id=”branding-inner”>

    <?php

    $options = get_option(‘framemarket_theme_options’:wink:;

    $logotype = $options;

    $logotext = $options;

    if ($logotype == “Text” ){

    ?>

    <div id=”site-logo”>

    “><?php echo $logotext; ?>

    </div>

    <?php

    }

    else if ($logotype == “Name” ){

    ?>

    <div id=”site-logo”>“><?php bloginfo(‘name’:wink:; ?></div>

    <?php

    }

    else if ($logotype == “Header”:wink:{

    ?>

    <h1>“><?php bloginfo(‘name’:wink:; ?></h1>

    <?php

    }

    else{

    ?>

    <div id=”site-logo”>“><?php _e( ‘gridmarket’, TEMPLATE_DOMAIN ) ?></div>

    <?php

    }

    ?>

    <div id=”site-advert”>

    <?php

    $options = get_option(‘framemarket_theme_options’:wink:;

    $advert = $options;

    if ($advert != “”:wink:{

    echo stripslashes($advert);

    }

    ?>

    </div>

    </div>

    </div>

    </div>

    <div id=”navigation-wrapper”>

    <div id=”navigation”>

    <?php wp_nav_menu( array(‘theme_location’ => ‘main_menu’, ‘menu_class’ => ‘nav’, ‘container’ => ”, )); ?>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <ul class=”nav”>

  • Community

    <ul class=”submenu”>

    <?php if ( ‘activity’ != bp_dtheme_page_on_front() && bp_is_active( ‘activity’ ) ) : ?>

    <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class=”selected”<?php endif; ?>>

    /<?php echo BP_ACTIVITY_SLUG ?>/” title=”<?php _e( ‘Activity’, ‘buddypress’ ) ?>”><?php _e( ‘Activity’, ‘buddypress’ ) ?>

  • <?php endif; ?>

    <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class=”selected”<?php endif; ?>>

    /<?php echo BP_MEMBERS_SLUG ?>/” title=”<?php _e( ‘Members’, ‘buddypress’ ) ?>”><?php _e( ‘Members’, ‘buddypress’ ) ?>

    <?php if ( bp_is_active( ‘groups’ ) ) : ?>

    <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class=”selected”<?php endif; ?>>

    /<?php echo BP_GROUPS_SLUG ?>/” title=”<?php _e( ‘Groups’, ‘buddypress’ ) ?>”><?php _e( ‘Groups’, ‘buddypress’ ) ?>

    <?php if ( bp_is_active( ‘forums’ ) && ( function_exists( ‘bp_forums_is_installed_correctly’ ) && !(int) bp_get_option( ‘bp-disable-forum-directory’ ) ) && bp_forums_is_installed_correctly() ) : ?>

    <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class=”selected”<?php endif; ?>>

    /<?php echo BP_FORUMS_SLUG ?>/” title=”<?php _e( ‘Forums’, ‘buddypress’ ) ?>”><?php _e( ‘Forums’, ‘buddypress’ ) ?>

    <?php endif; ?>

    <?php endif; ?>

    <?php if ( bp_is_active( ‘blogs’ ) && bp_core_is_multisite() ) : ?>

    <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class=”selected”<?php endif; ?>>

    /<?php echo BP_BLOGS_SLUG ?>/” title=”<?php _e( ‘Blogs’, ‘buddypress’ ) ?>”><?php _e( ‘Blogs’, ‘buddypress’ ) ?>

    <?php endif; ?>

    <?php do_action( ‘bp_nav_items’ ); ?>

    <?php endif; ?>

    <div class=”clear”></div>

    </div>

    <div class=”clear”></div>

    </div>

    <?php if($bp_existed == ‘true’:wink: : ?>

    <?php do_action( ‘bp_after_header’ ) ?>

    <?php do_action( ‘bp_before_container’ ) ?>

    <?php endif; ?>

    <div id=”site-wrapper”>

    <div id=”container”>

  • Philip John
    • DEV MAN’s Apprentice

    Thanks for that. However, you need to re-paste that and use the “code” button on the toolbar. Pasting it in to a quote has made the links in the code turn into actual hyperlinks.

    Alternatively, paste it into a service like pastebin.com.

    Thanks,

    Phil

  • iBusinessLogic
    • Design Lord, Child of Thor

    Thanks Phil,

    I think my issue was my installation of MU, I have reverted to a standard WP 3.xx install for this project as I can not change all of the permalinks on the home domain which is running a forum.

    I have the site re-installed and the Marketpress and Framemarket/Gridmarket seem to be working fine now.

    Thanks for your and Tammie’s time….

    Scott