Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wolfgang

    (@wolfgang101)

    Hey @pkingtiger … just realized that www.remarpro.com includes a support forum for the plugin.

    The avatar image should not be that large at all. The plugin style sets it at roughly the height of normal text.

    In your case the yosemite theme that you are using defines image, video and object height with the value auto!important:

    img, video, object {
        max-width: 100%;
        height: auto!important;
    }

    The !important keyword simply overwrites the default style of the plugin. It was a deliberate choice to not be too aggressive with CSS definitions in the plugin as this could overwrite general theme styles.

    Ideally you could add custom CSS to your theme or e.g. in the functions.php file

    function custom_inline_css() {
      echo "<style>.include-mastodon-feed img.avatar {height: 1.25rem !important;}</style>";
    }
    add_action( 'wp_head', 'custom_inline_css', 0 );

    Plugin Author Wolfgang

    (@wolfgang101)

    Just adding CSS tag

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide avatar / profile picture’ is closed to new replies.