By Tim on Sunday, 21 April 2019
Posted in General Issues
Replies 11
Likes 0
Views 866
Votes 0
Hi, where can I change the title font size for all blog articles?

Also, where do I go to remove the ‘featured’ icon from the top of an article?

Many Thanks
Tim
Hi, where can I change the title font size for all blog articles?

We do not have setting for allow user to change the blog title font size but you can apply this following custom css from your site backend > Easyblog > theme > custom css


body #eb .eb-post-title,
body #eb .eb-entry-title {
font-size: 16px;
}


Also, where do I go to remove the ‘featured’ icon from the top of an article?

Can you provide us some screenshot which 'featured' icon you referring?

if you referring that feature slider on the listing page, you can disable it from backend > Easyblog > Setting > views > Show Featured Slider - NO
·
Sunday, 21 April 2019 09:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much!
I have applied the css which has worked perfectly, thanks.

No it is not the slider. Its the star icon & word 'featured' at the top of a featured article
Please see screen shot attached

Many thanks
Tim
·
Sunday, 21 April 2019 10:16
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Oh, got it, try apply this following css into same place as what I mentioned at above.


body #eb .es-post-state__item .eb-entry-featured {
display: none;
}
·
Sunday, 21 April 2019 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much, that worked too ?

1 last thing for now, is it possible to move the catagory links above the post title?

so they would appear between the toolbar and the title?

Thanks so much for all your help today!
?
Tim
·
Sunday, 21 April 2019 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

There is no setting to do that currently.

You can download and paste the attached default.posts.php file at template override location which is at JoomlaFolder/templates/yourCurrentTemplate/html/com_easyblog/blogs/entry/default.posts.php.

Take note that you need to create the folders manually if you don't see it.
·
Monday, 22 April 2019 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks so much Irwin ?
If you see my previous ticket I have already uploaded a default.post.php for another change.

If I now upload this one will it override the previous one?

Many Thanks
Tim
·
Monday, 22 April 2019 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

If that's the case, you just need to look for the following code:

<?php if ($this->entryParams->get('post_category', true)) { ?>
<div class="eb-meta-category comma-seperator">
<i class="fa fa-folder-open"></i>
<?php foreach ($post->categories as $cat) { ?>
<span><a href="<?php echo $cat->getPermalink();?>"><?php echo $cat->getTitle();?></a></span>
<?php } ?>
</div>
</div>
<?php } ?>


cut it and paste it above the following code:

<?php if ((in_array($post->getType(), array('photo', 'standard', 'video', 'email'))) && $this->entryParams->get('post_title', true)) { ?>
<h1 id="title-<?php echo $post->id; ?>" class="eb-entry-title reset-heading <?php echo ($post->isFeatured()) ? ' featured-item' : '';?> "><?php echo $post->title; ?></h1>
<?php } ?>


Add the following code beside class="eb-meta-category comma-seperator" for a better look (optional):

style="padding-bottom: 8px;"


Can you have a try and see how it goes?
·
Monday, 22 April 2019 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi thanks so much, I think I have done that successfully but cant get the padding right?

Would love it to be closer to the toolbar, with more padding before the post title

I have attached the version that is now in the override folder
could you take a look for me and let me know what I am missing

here is an example page: https://inrhythm.com.au/blog/the-benefits-of-team-building-and-why

Many Thanks
Tim
Tim
·
Monday, 22 April 2019 12:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

The reason that the layout breaks is because you are missing the </div> of the code that I asked you to cut.

I had helped you to apply it back and relocate the code that I asked you to cut before line 65 in the attached file.

Can you have a try and see how it goes?
·
Monday, 22 April 2019 13:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post