Gravatar Postion Problem

Posted in: Newspaper
Post count: 32

How to get image left side like this

https://dl.dropboxusercontent.com/u/55681588/tw/how1.JPG

i am getting image on right side like this ( float: left is not good)

https://dl.dropboxusercontent.com/u/55681588/tw/how2.JPG

This is the code i edited in td_module_single_base.php

Website URL :

http://www.25cineframes.com/mahesh-babus-daughter-sitara-ghattamaneni-new-latest-photos.html

//$show_stars_on_review – not used
function get_author() {
$buffy = ”;
if (td_util::get_option(‘tds_p_show_author_name’) != ‘hide’) {
$buffy .= ‘post->post_author) . ‘”>’ ;
$buffy .= ‘<div class=”td-post-author-gravatar”>’ . get_avatar(get_the_author_meta(’email’, $author_id), ’32’) . ‘ ‘;
$buffy .= ‘
‘ . ‘ ‘;
$buffy .= ‘<div class=”td-post-author-name”>’ . __td(‘By’, TD_THEME_NAME) . ‘ ‘;
$buffy .= ‘post->post_author) . ‘”>’ . get_the_author_meta(‘display_name’, $this->post->post_author) . ‘‘ ;

if (td_util::get_option(‘tds_p_show_author_name’) != ‘hide’ and td_util::get_option(‘tds_p_show_date’) != ‘hide’) {
$buffy .= ‘ – ‘;
}
$buffy .= ‘</div>’;
}
return $buffy;
}

Post count: 22421

Hi,
The theme was not created to show the avatar next to the author on posts, but you can do it if you follow this topic: https://forum.tagdiv.com/topic/author-bio-help/#post-45418
Hope this helps.
Thanks.

Post count: 32
Post count: 22421

Hello,
Meta information can be either removed from the code or hidden with css.
You need to identify the module you use and use the browser inspector to get the classes. Use this code to hide the meta and add different block classes to it depending on the block or module you want to remove the meta from.
for example on a block 4 I would use the code like so:
\.td_block_4 .td-module-meta-info{
display:none!important
}

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.