How to add "Sub-Heading" Content into Activellos "Whats new" Sidebar

Dear Folks,

i use Activellos Widget to show the right “What´s new” Sidbar. See Attachment.
Not long ago i installed the “Sub-Heading” Functionallity. The PHP-Code in the content-single.php is as follows:

<?php
/**

  • @package activello
    */
    ?>

<article id=“post-<?php the_ID(); ?>” <?php post_class(); ?>>
<div class=“blog-item-wrap”>
<div class=“post-inner-content”>
<header class=“entry-header page-header”>

			&lt;h1 class="entry-title"&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;

This shows the red marked Subheading

<h1 class=“entry-meta”><?php the_subheading(); ?></h1>

			&lt;?php if ( 'post' == get_post_type() ) : ?&gt;
			&lt;div class="entry-meta"&gt;
				&lt;?php activello_posted_on(); ?&gt;

				&lt;?php

I´d like to have the Subheading also under the Titel within the Sidebar. Same font. Perhaps smaller but bold.
Any Ideas howi can get there?

Many kind Regards and in advance lots of Thanks für your help.

GT

Hi @groundtorpedo,

I hope you are well today and thank you for your question.

It seems you are using Activello Recent Posts Widget in the sidebar so to achieve this you have to customise this theme widget and add same sub heading code in it then we can make it smaller and bolder using CSS code.

Best Regards,
Movin

Hi Movin,

thanks. But where can i find that Widget to edit it?
Whats its name?

kind regards

GT

You will find it in the theme file activello/inc/widgets/widget-recent-posts.php

Thanks a lot Movin,

that worked great.
The code now looks:

How can i change the font or weight? I´d like to show the Subtitle in fat.

Kind regards als usual and many thanks in advance

GT

Could you please share me your site URL where it’s displaying so that i can help you to change its font and weight?

Hi Movin,

it is http://usmiani.de/.

Meanwhile i´d like to change the paraghraph-Settings more than the Font.
It seems to me that it is kind of 1,5 in the sidebar widget.
The optimum in my opinion would be like attached

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS

#secondary .activello-recent-posts .post-content a {
    font-weight: bold;
}

#secondary .activello-recent-posts .post-content {
    line-height: 17px;
}

Hi Movin,

that worked great again. Thanks al lot!

And another question: Is it somehow possible to show on the Entry-Page only the actual BLOG-Entry in full with, the next four ones in half width und all the others in tripple width an with only half of the text-preview. Meaning not half the height but smaller text, like in the last-posts-widget you helped me with.

Again - and as usual - many kind regards and great appreciation for your Help!

GT

You are most welcome here :slight_smile:

To help us keep support thread separates could you please create new thread for each of your other questions here https://colorlibsupport.com/c/activello/ instead of asking them in your single thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.