Results 1 to 2 of 2

Thread: Spacing issue can't figure out.

  1. #1
    Thread Starter
    rtibbs4's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    358
    Thanks
    9
    Thanked 4 Times in 4 Posts

    Spacing issue can't figure out.

    I am trying to spice up my 404 page by adding the featured slider to it but for the life of me I can't get rid of the extra space above and below it. Any help appreciated. my code is below.



    Code:
      <div class="content">
    
        <div class="content_botbg">
    
          <div class="content_res">
    
          <div id="breadcrumb">
    
              <?php if(function_exists('cp_breadcrumb')) { cp_breadcrumb(); } ?>
    
            </div>
     
              
               
    
      <div class="content">
    
        <div class="content_botbg">
    
          <div class="content_res">
    
            <?php if (get_option('cp_enable_featured') <> 'no') { ?>
    
              <?php query_posts(array('post__in' => get_option('sticky_posts'), 'post_status' => 'publish', 'orderby' => 'rand')); ?>
    
                <?php if (have_posts()) : ?>
    
                
                <div class="shadowblock_out">
                    <div class="shadowblockdir">
    
                        <h2 class="dotted"><?php _e('Featured Listings', 'cp')?></h2>
                        <div class="sliderblockdir">
    
                            <div id="list">
                                <div class="prev">[img]<?php bloginfo('template_url'); ?>/images/prev.jpg[/img]</div>
                                <div class="slider">
                                    <ul>
    
                                        <?php while (have_posts()) : the_post(); ?>
    
                                            <?php if (in_category(CP_BLOG_CAT_ID) || cp_post_in_desc_cat(CP_BLOG_CAT_ID)) continue; // don't show any blog posts ?>
    [*]
                                                <span class="feat_left">"><?php if(get_post_meta($post->ID, 'images', true)) cp_single_image_legacy($post->ID, get_option('thumbnail_size_w'), get_option('thumbnail_size_h')); else cp_get_image_url_feat($post->ID, 'thumbnail', 'captify', 1); ?><div class="clr"></div><span class="price_sm"><?php if(get_post_meta($post->ID, 'price', true)) cp_get_price_legacy($post->ID); else cp_get_price($post->ID); ?></span></span>
                                                
    
    <?php if (strlen(get_the_title()) >= get_option('cp_featured_trim')) echo substr(get_the_title(), 0, get_option('cp_featured_trim')).'...'; else the_title(); ?> </p>
                                            
    
                                        <?php endwhile; ?>
    [/list]
                                </div>
    
                                <div class="next">[img]<?php bloginfo('template_url'); ?>/images/next.jpg[/img]</div>
    
                            </div>
    
                            <div class="clr"></div>
    
                        </div>
    
                    </div>
    
                </div>
    
                <?php endif; ?>
    
                <?php wp_reset_query(); ?>
    
            <?php } // end feature ad slider check ?>
            
    </div>
      
    
    <div class="clr"></div>
    
            
            <div class="content_left">
    
                <div cla

  2. #2
    rubencio's Avatar
    Join Date
    May 2010
    Location
    Spain
    Posts
    3,804
    Thanks
    268
    Thanked 316 Times in 278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

    r u b e n c i o . c o m


    Since 2010 providing AppThemes solutions,
    Plugins and the best childthemes...



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)