Overlapping Field Label on top of Field Boxes With All Things MarketPress

Hi guys..
Can you offer some assistance in MarketPress?
Two areas for you:
1.)
The following links are screenshots that will demonstrate what's happening with our Marketplace. It seems to be a form issue. The fields are overlapping; there is not enough spacing between the field name and the field box.
This is happening across the board with all things MarketPress.
I have the store style presentation in store settings set to "Classic" and I have tried all of the various options to try to fix this.
http://www.beactivewellness.com/SShot1.png
http://www.beactivewellness.com/SShot2.png

2.)
We have a theme installed and it does not support a side bar for posts. Since the Marketplace items are posts, we don't have the option to add a right nav. We need the right sidebar to show all of the store widgets. Before we go explore plugins.. do you have a bit of direction you can offer?

Thanks!

  • Arun Basil Lal

    Hello Beactive,

    I see the trouble you have with the input boxes, just css. Add the following to your style.css, am not 100% sure this would work, but one of it should:

    #content-container {
    width: auto !important;
    margin: 20px 10px 10px 0 !important;
    }
    
    .mp_cart_contents {
    width: 900px !important;
    }

    For the second part, adding sidebar to the MarketPress pages, it's a bit complicated to make wild guesses, can you please send me these files from your theme?

    - single.php
    - functions.php
    - sidebar.php

    Zip them and attach, or copy paste them to http://pastebin.com/

    Looking forward to it. Good luck!

  • Arun Basil Lal

    Hello Beactive,

    The pastebin had only the file locations, not the actual contents of the files. Please copy the actual php code from the php files and share it.

    Here is what I got:

    /Volumes/VERBATIM/Jobs (Current)/Active Wellness/files/functions.php
    /Volumes/VERBATIM/Jobs (Current)/Active Wellness/files/sidebars.php
    /Volumes/VERBATIM/Jobs (Current)/Active Wellness/files/single.php

    Looking forward to it.

  • Beactive

    Functions.php

    <?php
    /* Note to users:
    * Do not edit this file. Any custom functions can be added to the Child Theme's functions.php file
    * This will prevent losing your customizations during a theme upgrade. Cheers :)
    */
    
    //check WP_DEBUG, if set to true, we suppress warning, notice, deprecated, and user notice
    //If wpcu3er is activated, this wpcu3er plugin suppress all errors even if WP_DEBUG is set to true,
    //need to set display_errors to 1 in wpcu3er plugin to allow errors for troubleshooting
    if(defined('WP_DEBUG') == 1 || WP_DEBUG == true){
    error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED ^ E_USER_NOTICE);
    ini_set('display_errors', '1');
    }
    
    // Please do not remove this line of code. Sky will fall.
    require_once(TEMPLATEPATH . '/framework/framework_init.php');
    
    // Load translation text domain
    load_theme_textdomain ('framework_localize');
    
    ?>
  • Beactive

    sidebars.php

    <?php
    function truethemes_widgets_init() {
    
    register_sidebar( array(
    'name' => 'Top Left Toolbar',
    'description' => 'This sidebar is displayed in the top left region above the logo.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<span class="display-none">',
    'after_title' => '</span>',
    ));
    
    register_sidebar( array(
    'name' => 'Top Right Toolbar',
    'description' => 'This sidebar is displayed in the top right region above the navigation.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<span class="display-none">',
    'after_title' => '</span>',
    ));
    
    register_sidebar( array(
    'name' => 'Homepage Sidebar',
    'description' => 'This sidebar is displayed in the homepage. (sidebar template required)',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="widget-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Blog Sidebar',
    'description' => 'This sidebar is displayed on all Blog pages.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="widget-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Contact Sidebar',
    'description' => 'This sidebar is displayed on the contact page.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="widget-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Search Results Sidebar',
    'description' => 'This sidebar is displayed on the Search Results page.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="widget-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'First Footer Column',
    'description' => 'First Footer Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Second Footer Column',
    'description' => 'Second Footer Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Third Footer Column',
    'description' => 'Third Footer Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Fourth Footer Column',
    'description' => 'Fourth Footer Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Fifth Footer Column',
    'description' => 'Fifth Footer Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'First Under Construction Column',
    'description' => 'First Under Construction Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Second Under Construction Column',
    'description' => 'Second Under Construction Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    register_sidebar( array(
    'name' => 'Third Under Construction Column',
    'description' => 'Third Under Construction Column.',
    'before_widget' => '<div class="sidebar-widget">',
    'after_widget' => '</div>',
    'before_title' => '<p class="foot-heading">',
    'after_title' => '</p>',
    ));
    
    }
    add_action( 'widgets_init', 'truethemes_widgets_init' );
    ?>
  • Beactive

    Single.php

    <?php get_header(); ?>
    
    <section class="small_banner">
    <?php get_template_part('template-part-small-banner','childtheme'); ?>
    </section>
    
    <section id="content-container" class="clearfix">
    	<div id="main-wrap" class="clearfix">
    		<div class="page_content blog_page_content">
        <?php get_template_part('template-part-breadcrumbs','childtheme'); ?>
            <?php
    		global $ttso;
    		$blogbutton = $ttso->st_blogbutton;
    		$blogauthor = $ttso->st_blogauthor;
    		$posted_by = $ttso->st_posted_by;
    
    if (have_posts()) : while (have_posts()) : the_post(); ?>
          <?php //retrieve all post meta of posts in the loop.
    			$linkpost = get_post_meta($post->ID, "_jcycle_url_value", $single = true);
    			$external_image_url = get_post_meta($post->ID,'truethemes_external_image_url',true);
    			$video_url = get_post_meta($post->ID,'truethemes_video_url',true);
    			$permalink = get_permalink($post->ID);
    			//prepare to get image
    			$thumb = get_post_thumbnail_id();
    			$image_width = 620;
    			$image_height = 161;
    
    			//use truethemes image cropping script
    			$image_src = truethemes_crop_image($thumb,$external_image_url,$image_width,$image_height);
    			?>
    
          <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    			<article class="preview blog-main-preview">
    				<h2 <?php if($posted_by == "false") { echo 'class="no-posted-by"'; }?>><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
            <?php if($posted_by == "true") { ?>
            <span class="metadata postinfo"><?php _e('Posted by', 'framework_localize') ?> <?php the_author_posts_link(); ?> <?php _e('on', 'framework_localize') ?> <?php the_time( get_option('date_format')); ?></span>
            <?php } ?>
    
    					<?php //function to generate internal image, external image or video
              $html = truethemes_generate_blog_image($image_src,$image_width,$image_height,$blog_image_frame,$linkpost,$permalink,$video_url);
              echo $html;
              ?>
    
              <?php the_content();
    		  get_template_part('template-part-social-share','childtheme');
              get_template_part('template-part-inline-editing','childtheme'); ?>
    
    				<div class="post-details">
    				<p class="post-tags"><?php the_tags() ?></p>
    				<p class="post-categories"><strong><?php _e('Posted in:', 'framework_localize') ?></strong> <?php the_category(', ') ?></p>
    				<a class="post-leave-comment" href="<?php echo the_permalink().'#respond'; ?>">Leave a Comment (<?php comments_number('0', '1', '%'); ?>)  &rarr;</a>
    				</div><!-- END post-details -->
    			</article>
          </div><!-- END post-ID -->
    
                <?php
    			$show_post_comments = $ttso->st_post_comments;
    			if($show_post_comments !='false'):
    			comments_template('', true);
    			endif;
    			wp_link_pages();
    			?>
    
    			<?php endwhile; else: ?>
    			<h2><?php _e('Nothing Found' , 'framework_localize') ?></h2>
    			<p><?php _e('Sorry, it appears there is no content in this section.' , 'framework_localize') ?></p>
    			<?php endif; ?>
    			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }else{ paginate_links(); } ?>
    
    		</div>
    
    		<aside class="sidebar blog_sidebar">
    			<?php dynamic_sidebar("Blog Sidebar"); ?>
    		</aside>
    	</div><!-- END main-wrap -->
    <?php get_footer(); ?>
  • Arun Basil Lal

    Hey Beactive,

    Find sidebar.php and mp_product.php attached. mp_product.php is the single page for a MarketPress product.

    I have registered a new widget area via the sidebar.php (its uncommon for a theme to use sidebar.php for registering widgets). So you will see it in Appearance > Widgets.

    Make sure you take a backup of sidebar.php (the original one) before you overwrite it with the one I have provided here.

    btw, I have the CSS fixes I suggested before worked :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.