Home > Hosting > Server

How to solve wordpress avatar misalignment

2023-02-06 11:12:06

<p>This article mainly introduces the relevant knowledge on how to solve wordpress avatar misalignment. The editor shows you the operation process through actual cases. The operation method is simple, fast and practical. I hope this article on how to solve wordpress avatar misalignment can help you solve it question.</p><p><img src="//img.freeonlinedomain.com/uploads/allimg/20230207/1-23020G12150A4.jpg" title="" alt="QQ截图20230207112000.jpg"/></p><blockquote><p>The solution to the dislocation of the wordpress avatar: 1. Find and open the function.php file; 2. Add the code in this file as function fixed_activity_widget_avatar_style(){echo&#39; &#39;;}add_action(&#39;admin_head&#39;, &#39;fixed_activity_widget_avatar_style&#39; ); can solve the avatar misalignment problem.</p></blockquote><p><strong>Wordpress upgraded to 4.5 and the solution to the dislocation of background comment avatar</strong></p><p>After wordpress was updated to the latest version 4.5, we logged into the background and found the instrument The avatar of the disk comment is misplaced and becomes very large, but the official has not solved this bug. I don’t know if different browsers will display differently. The tribe has not tested it.</p><p>Actually, there are background comments in WordPress The phenomenon of avatar dislocation, as early as the 4.2 version, many friends have already raised this problem.</p><p>WordPress upgrade to 4.5, the background comment avatar dislocation</p><p>The tribe is currently still I haven&#39;t upgraded to version 4.5, but some friends have already upgraded and found this problem. The effect is as follows:</p><p><br/></p><p>The solution is also very simple, we only need to add In the function.php file, add the following code.</p><p><br/></p><p><code>function fixed_activity_widget_avatar_style(){ echo &#39; &#39;; } add_action(&#39;admin_head&#39;, &#39;fixed_activity_widget_avatar_style&#39; );</code></p><p><br/></p><p>After successful addition, the misplacement of the avatar can be solved.</p><p><br/></p>


Copyright Description:No reproduction without permission。

Knowledge sharing community for developers。

Let more developers benefit from it。

Help developers share knowledge through the Internet。

Follow us