Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
alopfr
tagDiv Member

Hi, Catalin!

This morning I changed

<?php if ( has_excerpt() ) : // Only show custom excerpts not autoexcerpts ?>
<span class=”td-post-sub-title”><?php echo get_the_excerpt(); ?></span>
<?php endif; ?>

for

<?php if ( has_excerpt() ) : // Only show custom excerpts not autoexcerpts ?>
<p class=”td-post-sub-title”><?php echo get_the_excerpt(); ?></span>
<?php endif; ?>

With this change, I have the correct space.

Best wishes,

alopfr
tagDiv Member

Hi again,

I finally change the code in loop-single.php to:

<?php if ( has_excerpt() ) : // Only show custom excerpts not autoexcerpts ?>
<span class=”td-post-sub-title”><?php echo get_the_excerpt(); ?></span>
<?php endif; ?>

And is showing excerpt instead of subtitle and I can customize fonts via ‘subtitles’ in Theme options. But the meta data of posts (name of author, date) is too close to subtitle (now, excerpt). How could I change padding?

I attach a screenshot: https://www.dropbox.com/s/hqnszg3zcs3op2q/Captura%20de%20pantalla%202018-04-27%20a%20las%200.01.45.png?dl=0

Best wishes,

alopfr
tagDiv Member

Hi!

Thanks.

About excerpts, I’ve made a replace of some code in loop.php:
<?php if (!empty($td_mod_single->get_excerpt())) { ?>
<p class=”td-post-sub-title”>
<?php echo $td_mod_single->get_excerpt();?>
</p>
<?php } ?>

But, now, when I change fonts from Theme Panel for subtitles, it doesn’t change this part. I’ve tried to inspect the element with Firefox and change some css. I’ve add this to custom css code:
.td-post-sub-title {
font-family: Open-Sans, sans-serif;
font-size: 17px;
line-height: 25px;
font-weight: lighter;
}

But it doesn’t work. You can check, for example, in this url: https://descubrirlahistoria.es/2018/04/linajes-urbanos-la-reinvencion-de-las-elites-en-el-medievo/

It’s just below title.

In the other hand, I cannot create a sidebar area in frontpage. Could you help, please?

  • This reply was modified 8 years by alopfr.
alopfr
tagDiv Member

One more question:

3. How could I show my logo bigger?

Viewing 4 posts - 1 through 4 (of 4 total)