MyBB Community Forums

Full Version: Theme problem on mobile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello

There is a point I am stuck on.

I brought the default theme completely mobile friendly, but I couldn't adjust this part, can you help?

The parts I have mentioned in the picture create spaces when I am on mobile. what is the reason?

I want to spread this part, I would appreciate if you help

[Image: Screenshot-1.png]

[Image: Screenshot-2.png]

I guess you don't know?
Looks like a colspan issue.
Yes, what should I do?

No one actually knows? Confused
(2022-01-11, 07:06 PM)Snl Wrote: [ -> ]Yes, what should I do?

No one actually knows? Confused


you should share live demo link here on in DM so after inspection can suggest solution 

BR
(2022-01-12, 12:52 PM)mujeebdgk Wrote: [ -> ]
(2022-01-11, 07:06 PM)Snl Wrote: [ -> ]Yes, what should I do?

No one actually knows? Confused


you should share live demo link here on in DM so after inspection can suggest solution 

BR

choose theme 2

thank you

https://www.forumteams.com/

I guess there is no one to help
current
(2022-01-12, 01:00 PM)Snl Wrote: [ -> ]choose theme 2

thank you

https://www.forumteams.com/

Looks fine to me. Can't replicate the problem. Tested on Firefox, Chrome, and Opera on Fedora Linux.

Perhaps you need to force-refresh your browser page with ctrl+shift+R?
For me it looks like that the issue is only on admin or mod accounts.
I tried again Confused

I leave you the codes

parts i hide on mobile    hide_mobile

It's probably because of colpan here, how should I do it?

forumdisplay_thread

<tr class="inline_row">
	<td align="center" class="hide_mobile {$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div><span class="author smalltext">{$thread['profilelink']}{$lang->comma}</span><span class="thread_start_datetime smalltext">{$thread['start_datetime']}</span></div>
		</div>
	</td>
	<td align="center" class="hide_mobile {$bgcolor}{$thread_type_class}"><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="hide_mobile {$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>


forumdisplay_threadlist

<div class="float_left">
	{$multipage}
</div>
<div class="float_right">
	{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder clear">
	<tr>
		<td class="thead" colspan="{$colspan}">
			<div class="float_right">
				<span class="smalltext"><strong><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}">{$lang->markforum_read}</a>{$addremovesubscription}{$clearstoredpass}</strong></span>
			</div>
			<div>
				<strong>{$foruminfo['name']}</strong>
			</div>
		</td>
	</tr>
	<tr>
		<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
		<td class="hide_mobile tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
		<td class="hide_mobile tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
		{$ratingcol}
		<td class="hide_mobile tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
		{$inlinemodcol}
	</tr>
	{$selectall}
	{$announcementlist}
	{$threads}
	{$forumsort}
</table>
<div class="float_left">
	{$multipage}
</div>
<div class="float_right" style="margin-top: 4px;">
	{$newthread}
</div>
<br class="clear" />
<br />
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><span class="thread_status newfolder" title="{$lang->new_thread}">&nbsp;</span> {$lang->new_thread}</dd>
			<dd><span class="thread_status newhotfolder" title="{$lang->new_hot_thread}">&nbsp;</span> {$lang->new_hot_thread}</dd>
			<dd><span class="thread_status hotfolder" title="{$lang->hot_thread}">&nbsp;</span> {$lang->hot_thread}</dd>
		</dl>
	</div>
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><span class="thread_status folder" title="{$lang->no_new_thread}">&nbsp;</span> {$lang->no_new_thread}</dd>
			<dd><span class="thread_status dot_folder" title="{$lang->posts_by_you}">&nbsp;</span> {$lang->posts_by_you}</dd>
			<dd><span class="thread_status closefolder" title="{$lang->closed_thread}">&nbsp;</span> {$lang->closed_thread}</dd>
		</dl>
	</div>
	<br class="clear" />
</div>
<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br class="clear" />
{$inline_edit_js}

in template forumdisplay_threadlist_rating 

find 

<td class="tcat " align="center" width="80">


replace with 

<td class="tcat mnone" align="center" width="80">


Hope it will solve your problem

BR
Mujeeb

Note : If problem Solved Please mark this thread as solved, Thank you
Pages: 1 2