- Cambios

git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@12 54e8636e-a86c-764f-903d-b964358a1ae2
This commit is contained in:
David Arranz 2011-07-06 19:20:53 +00:00
parent b8eb5d3ba7
commit 3bd3025adb
6 changed files with 82 additions and 40 deletions

View File

@ -3,13 +3,11 @@
.tcp_product_container {
float: left;
width: 100%;
border-top: 30px solid #7F7875;
}
.tcp_products_thumbs {
float: left;
width: 100%;
height: 590px;
}
.tcp_product_thumb {
@ -17,6 +15,8 @@
overflow: hidden;
display: table-cell;
background: #fff;
height: 196px;
width: 240px;
}
.tcp_product_thumb a {
@ -39,3 +39,38 @@
display: none;
}
.wp-pagenavi {
background: #7F7875;
height: 30px;
padding: 4px 15px 0px 15px;
font-size: 20px;
letter-spacing: 1px;
text-align:center;
clear: both;
}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited, .wp-pagenavi span {
text-decoration: none;
color: #AFA8A5 !important;
cursor: pointer;
margin: 0 5px;
padding: 0 !important;
background-color: #7F7875 !important;
border: none;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current,
.wp-pagenavi .current, .wp-pagenavi .on {
background-color: #7F7875 !important;
color: #fff !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.wp-pagenavi span.extend, .wp-pagenavi span.pages {
background:none !important;
border:none !important;
color: #AFA8A5 !important;
}

View File

@ -2518,11 +2518,11 @@ function woo_breadcrumbs( $args = array() ) {
/* Set up the default arguments for the breadcrumb. */
$defaults = array(
'separator' => '»',
'before' => '<span class="breadcrumb-title">' . __( 'You are here:', $textdomain ) . '</span>',
'separator' => '>', //&raquo;',
'before' => '', //<span class="breadcrumb-title">' . __( 'You are here:', $textdomain ) . '</span>',
'after' => false,
'front_page' => true,
'show_home' => __( 'Home', $textdomain ),
'front_page' => false,
'show_home' => '', //__( 'Home', $textdomain ),
'echo' => true
);

View File

@ -24,13 +24,6 @@
* @since Twenty Ten Ecommerce 1.0
*/
?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( isset( $wp_query ) && $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
</div><!-- #nav-above -->
<?php endif; ?>
<?php /* If there are no products to display, such as an empty archive page */ ?>
<?php if ( ! have_posts() ) : ?>
@ -66,21 +59,12 @@ $see_first_custom_area = isset( $instance['see_first_custom_area'] ) ? $instance
$see_second_custom_area = isset( $instance['see_second_custom_area'] ) ? $instance['see_second_custom_area'] : false;
$see_third_custom_area = isset( $instance['see_third_custom_area'] ) ? $instance['see_third_custom_area'] : false;
$column = 0;
$thumb_size = array(210,210);
while ( have_posts() ) : the_post();
?>
<?php
if ($column == 0)
{
$column = $number_of_columns;
}
while ( have_posts() ) :
the_post();
?>
<div id="td-post-<?php the_ID(); ?>" class="tcp_product_thumb">
<?php
$column--;
?>
<?php
if ( $see_image ) {
if (has_post_thumbnail()) {
@ -103,16 +87,18 @@ while ( have_posts() ) : the_post();
<?php endwhile; // End the loop. Whew. ?>
<?php
/*for(; $column > 0; $column-- )
echo '<td>&nbsp;</td>';*/
?>
</div> <!-- tcp_products_list -->
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( isset( $wp_query ) && $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
</div><!-- #nav-below -->
<?php endif; ?>
<?php
if ( function_exists('wp_pagenavi') ) {
wp_pagenavi();
} else {?>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
</div><!-- #nav-below -->
<?php
}
?>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -416,14 +416,36 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
/* 2.7 Breadcrumbs */
#breadcrumbs {
margin-bottom: 1.5em;
margin: 0;
background-color: #7F7875;
color: #181818;
font-size: 20px;
letter-spacing: 1px;
margin: 0;
padding: 2px 15px;
position: relative;
text-transform: uppercase;
}
#breadcrumbs a {
color: #AFA8A5;
text-decoration: none;
}
#breadcrumbs a:hover {
color: #fff;
}
/*-------------------------------------------------------------------------------------------*/
/* 3. POSTS */
/*-------------------------------------------------------------------------------------------*/
#breadcrumb, .post .video { margin-bottom:1.5em;}
#breadcrumb {
margin: 0;
}
.post .video { margin-bottom:1.5em;}
.archive_header { display: block; float: left; width: 100%; margin:0 0 30px; padding:0 0 10px; font-size: 18px; font-weight: bold; border-bottom:#3D3836 1px solid; }
.archive_header .catrss a { font-size: 14px; text-decoration: none; line-height: 28px; }
@ -438,7 +460,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
.post { margin: 0 0 2em; padding: 0 0 2em; border-bottom: 1px solid #3D3836; position: relative; }
.post .title, .page .title { font-family: sans-serif; position:relative; margin:0; padding: 2px 15px; font-size: 20px; letter-spacing: 1px; color:#fff; text-transform: uppercase; background-color: #121212;}
.post .title, .page .title { font-family: sans-serif; position:relative; margin:0; padding: 2px 15px; font-size: 20px; letter-spacing: 1px; color:#181818; text-transform: uppercase; background-color: #7F7875;}
.post .title a:link, .post .title a:visited { color:#fff; }
.post .title a:hover { text-shadow: 0 0 10px #F6F7A0; text-decoration: none; }

View File

@ -14,9 +14,8 @@
<div <?php post_class(); ?>>
<?php if ( $woo_options[ 'woo_title_show' ] == 'true' ) { ?>
<h1 class="title"><?php $wp_query->queried_object->name; ?></h1>
<?php } ?>
<h1 class="title"><?php echo $wp_query->queried_object->name; ?></h1>
<?php } ?>
<div class="entry">
<?php
/*$category_description = category_description();