Version 2.4.23, problems with icon's placement (NOT AGAIN!) (General)

by WorldofBB, Monday, October 05, 2020, 00:25 (16 days ago) @ shian
edited by WorldofBB, Monday, October 05, 2020, 00:45

I replied to this initially with a suggestion that it might be a local caching issue because I wasn't seeing the issue on your site at first. I deleted my initial reply when I realized my mistake.

The problem occurs only in thread view, and it affects this site as well.

https://mylittleforum.net/forum/index.php?mode=thread&id=9738#p12330

The problem is because the p.right class is used in entry.inc.tpl, but it isn't used in either thread template:
thread.inc.tpl
thread_linear.inc.tpl

Which is why the padding isn't being applied in either of the thread views.

shian:

As a workaround, you could change line 61 in style.min.css to this:

p.right a.rss,div.small a.rss{padding-left:15px}

That should work fine, but I'm guessing the devs would want to do this a little differently since I'm noticing that there is some manual styling on these entries that should probably be converted to a css class at the same time.

Micha:

The relevant code is here:

thread.inc.tpl - line 91
{if $settings.rss_feed==1}<div class="small" style="text-align:right;"><a class="rss" href="index.php?mode=rss&amp;thread={$tid}" title="{#rss_feed_thread_title#}">{#rss_feed_thread#}</a></div>{/if}

thread_linear_inc.tpl - line 87
{if $settings.rss_feed==1}<div class="small" style="text-align:right;"><a class="rss" href="index.php?mode=rss&amp;thread={$tid}">{#rss_feed_thread#}</a></div>{/if}


Complete thread:

 RSS Feed of thread

powered by my little forum