<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Recent Posts Widget and Recent Topics Widget automatically aligns on center if topic has 50 characters or more - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/recent-posts-widget-and-recent-topics-widget-automatically-aligns-on-center-if-topic-has-50-characters-or-more/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 12 May 2026 00:25:57 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Recent Posts Widget and Recent Topics Widget automatically aligns on center if topic has 50 characters or more</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/recent-posts-widget-and-recent-topics-widget-automatically-aligns-on-center-if-topic-has-50-characters-or-more/#post-39762</link>
                        <pubDate>Sun, 12 Apr 2020 05:27:08 +0000</pubDate>
                        <description><![CDATA[Hi wpForo Team,
Update:  After testing this out (and splitting hairs 🤣  ), the automatic centering of the Forum widgets for topics that seem to happen when the topic has more than 50 charac...]]></description>
                        <content:encoded><![CDATA[<p><span>Hi wpForo Team,</span></p>
<p><strong>Update:</strong>  After testing this out (<em>and splitting hairs</em> 🤣  ), the automatic centering of the Forum widgets for topics that seem to happen when the topic has more than 50 characters, <em>is most probably getting triggered by something in our WP theme</em>, or the other plugins developed by other developers. (To rule this out, I quickly switched WP themes, and saw the difference).  </p>
<p>So <strong>the problem was with our WP Theme</strong>, and <em>not wpForo.</em>  :-) </p>
<p>Since we wanted to still use our WP Theme, I just decided to write some <strong>code snippets to center</strong> the "Recent Posts" and "Recent Topics" widgets, since I cannot predict if forum members would be writing topics that are more than 50 characters.  Things look more "uniform" now.  :-) </p>
<p>I am marking this post as solved, for our own use case.  :-)   </p>
<p> </p>
<p>I'll share the notated snippets here, in case someone sees a similar issue.   </p>
<p>I added it to the </p>
<p>Forum Dashboard &gt; Settings&gt; Styles &gt; Custom CSS Code</p>
<p> </p>
<pre>/*For Recent Replies Widget Title*/<br />#wpf-widget-recent-replies .widget-title {<br />text-align: center !important;<br />}<br /><br /><br />/*For Recent Replies Widget Content*/<br />#wpf-widget-recent-replies.wpforo-widget-wrap .wpforo-widget-content {<br />text-align: center !important;<br />}<br /><br />/*For Widget Title*/<br />h3.widget-title {<br />text-align: center !important;<br />}<br /><br />/*For Widget Content, like for example Search Box widget*/<br />div.wpforo-widget-content {<br />text-align: center !important;<br />}</pre>
<p>I guess we can mark this topic as solved and can close the topic.  Sorry for the trouble.  :-) </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CrisW</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/recent-posts-widget-and-recent-topics-widget-automatically-aligns-on-center-if-topic-has-50-characters-or-more/#post-39762</guid>
                    </item>
				                    <item>
                        <title>Recent Posts Widget and Recent Topics Widget automatically aligns on center if topic has 50 characters or more</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/recent-posts-widget-and-recent-topics-widget-automatically-aligns-on-center-if-topic-has-50-characters-or-more/#post-39757</link>
                        <pubDate>Sun, 12 Apr 2020 01:26:48 +0000</pubDate>
                        <description><![CDATA[Hi wpForo Team,
I tried to resolve this issue, but I can&#039;t seem to do it (without breaking anything else on my clients&#039; site).  Maybe it&#039;s time to ask for your help on this. :-)
Below are ...]]></description>
                        <content:encoded><![CDATA[<p>Hi wpForo Team,</p>
<p>I tried to resolve this issue, but I can't seem to do it (<em>without breaking anything else on my clients' site</em>).  Maybe it's time to ask for your help on this. :-)</p>
<p>Below are the details of the Issue I am having on our client forums:</p>
<p>ISSUE: <strong>Recent Posts Widget and Recent Topics Widget automatically aligns on center</strong> <em><strong>if topic has 50 characters or more</strong></em></p>
<p>DEVICES: On Desktop View and Mobile view, the Topic title automatically aligns to the center of the widget (please see screenshot), if the length of the topic title is about 55 characters or longer.</p>
<p>On Tablet View, it's okay and stays left aligned.</p>
<p>BROWSER: I tested this on Chrome and IE. Our forum uses long topic titles, but it seems to look broken on the Recent Posts and Recent Topics Widget areas, on Desktop View and on Mobile Phone View.</p>
<p>WPFORO VERSION: Version 1.7.2</p>
<p>SCREENSHOTS: Attached.</p>
<p> </p>
<p>I also tried the code below and it seems to <strong>still</strong> not work on the alignment, which should be on the left.</p>
<p> </p>
<pre>#wpf-widget-recent-replies.wpforo-widget-wrap .wpforo-widget-content {<br />text-align: left !important;<br />}<br />#wpf-widget-recent-replies .widget-title {<br />text-align: left !important;<br />}<br /><br />div.wpforo-right-sidebar {<br />text-align: left !important;<br />}</pre>
<p> </p>
<p>As a workaround, I have temporarily "centered" the sidebar, so our clients' forum doesn't look broken, with some posts on the left, and those with long topics, that become auto-centered.</p>
<p>I'd much rather use the wpForo widget design which aligns everything on the widget area on the left.  </p>
<p>Any help or tips would be greatly appreciated. Thank you! :-) </p>
<p> </p>
<div id="wpfa-" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1586654808-20200411_RecentPostWidget_Topics_LongerThan50Characters_AligningCenter_OnDesktopView_Chrome_andIE.jpg" target="_blank"><i class="fas fa-paperclip"></i>&nbsp;20200411_RecentPostWidget_Topics_LongerThan50Characters_AligningCenter_OnDesktopView_Chrome_andIE.jpg</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CrisW</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/recent-posts-widget-and-recent-topics-widget-automatically-aligns-on-center-if-topic-has-50-characters-or-more/#post-39757</guid>
                    </item>
							        </channel>
        </rss>
		