Hi,
1- Open to edit sf-posts-formats.php at /includes/swift-framework/sf-content-display/
Find this code:-
if ($show_title == "yes") {
if ($post_format == "link") {
$post_item .= '<h4 itemprop="name headline">'.sf_link_post($postID).'</h4>';
} else {
$post_item .= '<h4 itemprop="name headline"><a href="'.$post_permalink.'">'.$post_title.'</a></h4>';
}
}
Change to:-
if ($show_title == "yes") {
if ($post_format == "link") {
$post_item .='<span>'.$post_categories.'</span>';
$post_item .= '<h4 itemprop="name headline">'.sf_link_post($postID).'</h4>';
} else {
$post_item .='<span>'.$post_categories.'</span>';
$post_item .= '<h4 itemprop="name headline"><a href="'.$post_permalink.'">'.$post_title.'</a></h4>';
}
}
2- Use this custom css code for hr line.
.recent-post h5 {
border-bottom: 2px solid #000 !important;
padding-bottom: 4px !important;
}
Thanks 🙂
With Best Regards
Mohammad