styled read-more arrows

This commit is contained in:
jorge 2022-09-27 15:10:30 +02:00
parent 0522c07797
commit 008d72c0f7
3 changed files with 18 additions and 13 deletions

View File

@ -15,7 +15,7 @@
<?php echo hangar_trim_excerpt(); ?> <?php echo hangar_trim_excerpt(); ?>
</div> </div>
<div class="boxpeu" > <div class="boxpeu" >
<a href="<?php the_permalink(); ?>" class="peubox" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a> <a href="<?php the_permalink(); ?>" class="peubox read-more" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a>
</div> </div>
</article> </article>
@ -60,7 +60,7 @@
<div class="boxpeu" > <div class="boxpeu" >
<?php // la fletxeta link al post/pàgina ?> <?php // la fletxeta link al post/pàgina ?>
<a href="<?php the_permalink(); ?>" class="peubox" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a> <a href="<?php the_permalink(); ?>" class="peubox read-more" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a>
<?php if (is_home()) : ?> <?php if (is_home()) : ?>
<?php // els quadrets link a la categoria pare ?> <?php // els quadrets link a la categoria pare ?>
@ -121,7 +121,7 @@
<!-- la fletxeta link al post/pàgina --> <!-- la fletxeta link al post/pàgina -->
<div class="boxpeu"> <div class="boxpeu">
<a href="<?php the_permalink(); ?>" class="peubox" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a> <a href="<?php the_permalink(); ?>" class="peubox read-more" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a>
<!-- els quadrets link a la categoria pare --> <!-- els quadrets link a la categoria pare -->
<?php if (is_home()) : ?> <?php if (is_home()) : ?>
<a href="<?php echo get_permalink(136); ?>" class="peudret" title="<?php echo get_the_title(136); ?>" rel="bookmark"><img alt="enllaç a la categoria" src="<?php echo get_template_directory_uri() . '/images/totslink.png';?>" /></a> <?php ?> <a href="<?php echo get_permalink(136); ?>" class="peudret" title="<?php echo get_the_title(136); ?>" rel="bookmark"><img alt="enllaç a la categoria" src="<?php echo get_template_directory_uri() . '/images/totslink.png';?>" /></a> <?php ?>
@ -215,7 +215,7 @@
<?php endif; ?> <?php endif; ?>
<div class="boxpeu" > <div class="boxpeu" >
<a href="<?php the_permalink(); ?>" class="peubox" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a> <a href="<?php the_permalink(); ?>" class="peubox read-more" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img alt="enllaç" src="<?php echo get_template_directory_uri() . '/images/fletxalink.png';?>" /></a>
<?php if (is_home()) : ?> <?php if (is_home()) : ?>
<!-- els quadrets link a la categoria pare --> <!-- els quadrets link a la categoria pare -->
<a href="<?php echo get_category_link( $category[0]->term_id ); ?>" class="peudret" title="<?php echo $category[0]->name; ?>" rel="bookmark"><img alt="enllaç a la categoria" src="<?php echo get_template_directory_uri() . '/images/totslink.png';?>" /></a> <a href="<?php echo get_category_link( $category[0]->term_id ); ?>" class="peudret" title="<?php echo $category[0]->name; ?>" rel="bookmark"><img alt="enllaç a la categoria" src="<?php echo get_template_directory_uri() . '/images/totslink.png';?>" /></a>

View File

@ -122,9 +122,7 @@
width: 100%; width: 100%;
} }
.hangar-extra-content .pfc-posts-main .pfc-post .news-text-wrap p, .hangar-extra-content .pfc-posts-main .pfc-post .news-text-wrap p,
.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more, .hangar-extra-content .pft-posts-main .pft-post .news-text-wrap p{
.hangar-extra-content .pft-posts-main .pft-post .news-text-wrap p,
.hangar-extra-content .pft-posts-main .news-text-wrap .read-more {
margin-bottom: 0px; margin-bottom: 0px;
margin-top: 5px; margin-top: 5px;
font-size: 11.5px; font-size: 11.5px;
@ -137,10 +135,18 @@
.hangar-extra-content .pft-posts-main .news-text-wrap .read-more { .hangar-extra-content .pft-posts-main .news-text-wrap .read-more {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
font-size: 0 /*0.7rem*/; margin-bottom: 0px;
margin-top: 5px;
font-size: 0;
line-height: 1rem; line-height: 1rem;
padding-bottom: 0; padding-bottom: 0;
min-height: 1.5rem; min-height: 1rem;
bottom: 0;
}
.read-more:hover,
.hangar-extra-content .pfc-posts-main .news-text-wrap .read-more:hover,
.hangar-extra-content .pft-posts-main .news-text-wrap .read-more:hover {
text-decoration: none;
} }
.hangar-extra-content .pfc-posts-main .pfc-post:last-child , .hangar-extra-content .pfc-posts-main .pfc-post:last-child ,
.hangar-extra-content .pft-posts-main .pft-post:last-child { .hangar-extra-content .pft-posts-main .pft-post:last-child {
@ -162,10 +168,9 @@
.hangar-extra-content .pfc-posts-main .layout-one .news-text-wrap, .hangar-extra-content .pfc-posts-main .layout-one .news-text-wrap,
.hangar-extra-content .pft-posts-main .layout-one .news-text-wrap { .hangar-extra-content .pft-posts-main .layout-one .news-text-wrap {
float: none; float: none;
/* padding-top: 0px; */
/* padding-bottom: 0px; */
padding-left: 0; padding-left: 0;
min-height: 80px; min-height: 80px;
height: calc(100% - 1rem);
} }
.hangar-extra-content .pfc-posts-main .news-text-wrap h2 a, .hangar-extra-content .pfc-posts-main .news-text-wrap h2 a,
.hangar-extra-content .pft-posts-main .news-text-wrap h2 a { .hangar-extra-content .pft-posts-main .news-text-wrap h2 a {

View File

@ -641,7 +641,7 @@ ul.sidebar li.widget_sociallinks a.delicious {
border-left:1px solid #333333; border-left:1px solid #333333;
border-right:1px solid #333333; border-right:1px solid #333333;
} }
#content img { #content [not:.read-more] img {
background-color: #efefef; /*remove*/ background-color: #efefef; /*remove*/
max-width: 100%; max-width: 100%;