Commit f5ef7a5c authored by numeroteca's avatar numeroteca

#27 todas las imágenes en activityvoz igual tamaño

parent 9d19d05c
......@@ -21,7 +21,7 @@ $autoria = get_post_meta( $post_id, 'autoria', true );
$the_content = get_the_content();
?>
<div class="single-article clearfix">
<div class="single-article clearfix smallbox">
<?php
$featured = 'colormag-featured-post-small';
if ( has_post_thumbnail() ) {
......@@ -32,9 +32,10 @@ $the_content = get_the_content();
if ( empty( $image_alt_text ) ) {
$image_alt_text = $title_attribute;
}
$image .= '<figure>';
$image .= '<figure class="">';
$image .= '<a href="' . get_permalink() . '" title="' . the_title( '', '', false ) . '">';
$image .= get_the_post_thumbnail( $post->ID, array(200,200), array( // TODO array(200,150) could be added to control size of image
$image .= get_the_post_thumbnail( $post->ID, "colormag-featured-post-small", array( // TODO array(200,150) could be added to control size of image
// $image .= get_the_post_thumbnail( $post->ID, array(200,200), array( // TODO array(200,150) could be added to control size of image
'title' => esc_attr( $title_attribute ),
'alt' => esc_attr( $image_alt_text ),
) ) . '</a>';
......@@ -45,7 +46,7 @@ $the_content = get_the_content();
<div class="article-content">
<?php colormag_colored_category(); ?>
<h3 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?> <?php if ( 'pr' == get_post_type( $post_id ) ) { echo " | ". $autoria . strip_tags(get_the_term_list( $post_id, 'yr', ' (', ',', ')' )); } ?> </a>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?> <?php if ( 'pr' == get_post_type( $post_id ) ) { echo " | ". $autoria . strip_tags(get_the_term_list( $post_id, 'yr', ' (', ', ', ')' )); } ?> </a>
</h3>
<div class="below-entry-meta">
......
......@@ -50,6 +50,11 @@ body.entidad-template-default #content article.entidad {
margin: 0 auto;
}
.moreinfo {
margin:0 0 20px 0;
clear:both;
}
/* Add features for Projects and Activities */
/* We add the behaviour for our own custom post types */
......@@ -101,6 +106,14 @@ body.entidad-template-default #content article.entidad {
clear: both;
}
.smallbox h3 {
font-size: 1.5em !important;
}
.smallbox .below-entry-meta p {
margin: 10px 0 0 125px;
}
/* Project metadata y otros*/
a.migas {
color:#000;
......@@ -239,7 +252,7 @@ h2.subsection span {
margin-bottom: 30px;
}
.single #content .pr, #content .pr,
.single #content .actividad, #content .actividad {
.single #content .actividad, #content .actividad, #futuro .actividad {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
......@@ -402,3 +415,10 @@ position: relative;
.page-numbers.current {
background:lightgray;
}
/* cookies */
.cookie-notice {
background-color:#FFF 0 !important;
}
/* croping images */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment