Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Return to Top on Footer not working
#1
Not Solved
hello

Return to Top on Footer not working

[Image: Capture.jpg]

how to solve this?

thank you
Reply
#2
Not Solved
Hello ziuma. To fix it, edit template header.
Find the code below and move it at the beginning of template:
<a name="top" id="top"></a>
[Image: ZbrcFs]
Reply
#3
Not Solved
(07-23-2018, 11:37 AM)chack1172 Wrote: Hello ziuma. To fix it, edit template header.
Find the code below and move it at the beginning of template:
<a name="top" id="top"></a>

Shouldn't it be this?

<a name="top" id="top">Return to Top</a>
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#4
Not Solved
No, it's in template header.
[Image: ZbrcFs]
Reply
#5
Not Solved
(07-23-2018, 01:20 PM)chack1172 Wrote: No, it's in template header.

still not working
i wait for new version of this template
Reply
#6
Not Solved
You didn't done the edit. The code I sent you it's not at the beginning of the template.
[Image: ZbrcFs]
Reply
#7
Not Solved
my header template code

<div class="header">
<a name="top" id="top"></a>		
			<div class="wrapper">
				<div class="logo">
  <a href="{$mybb->settings['bburl']}/index.php"> {$mybb->settings['homename']}</a></div>
 <!-- If you want to use Image based logo, uncomment this               <div class="logo">
 <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" title="{$mybb->settings['homename']}" alt="{$mybb->settings['homename']}"></a></div>	
	-->
	</div>
<div class="tophead">
<div class="wrapper">
<div style="float: right;">{$welcomeblock}</div>
</div>
</div>
</div>
<div id="container">
	<div id="m_menu">
				<div class="wrapper">
					<ul id="menu">
						{$menu_portal}
						       <li><a href="{$mybb->settings['bburl']}/index.php"><i class="fas fa-comments"></i> Forums</a></li>



						{$menu_search}<li class="gallery"><a href="{$mybb->settings['bburl']}/ezgallery.php">{$lang->ezgallery_menu}</a></li>
						{$menu_memberlist}
						{$menu_calendar}
						<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help"><i class="fas fa-question-circle"></i> {$lang->toplinks_help}</a></li>
<li>{$myalerts_headericon}</li>
 
                        <li>{$quicksearch}</li>
					</ul>
				</div>
	</div>
		<div id="content">
			<div class="wrapper">
				{$pm_notice}
				{$bannedwarning}
				{$bbclosedwarning}
				{$unreadreports}
				{$pending_joinrequests}
				{$awaitingusers}
			   
				<navigation>
Reply
#8
Not Solved
You are using a fixed header, so the button will always resolve to the header instead of the top of the page. The code chack1172 gave you has to be put at the very top of your header template, not after the div.header element.

<a name="top" id="top"></a>
<div class="header">
[Image: fSGNVQj.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)