MyBB Community Forums

Full Version: Square Theme - How to move page number location?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using the square theme. The page numbers are at the bottom. I'm not sure how to go about moving them to the top of the page, any ideas?

Also, is there a way to remove page numbers from threads in thread view? 

Thank you!
templates : forumdisplay_threadlist & showthread

find code {$multipage} .
in general, it is used with a div or a span element

eg.
Quote: <div class="float_left">
{$multipage}
</div>

you can move or copy that code segment to required location within the template

if you do not want to display page numbers then that code segment can be deleted
however, having page numbers to jump to required page is a useful feature.
(2019-05-14, 04:18 AM).m. Wrote: [ -> ]templates :   forumdisplay_threadlist &  showthread

find code {$multipage} .
in general, it is used with a div or a span element

eg.
Quote: <div class="float_left">
{$multipage}
</div>

you can move or copy that code segment to required location within the template

if you do not want to display page numbers then that code segment can be deleted
however, having page numbers to jump to required page is a useful feature.


Thanks for your reply, I'll give that a shot.
The way that our current theme displays page numbers on each thread in thread view is a bit messy... It will list 4 pages in a row [][][][] and then the 5th page is somewhat below the first 4, so it looks like this:

[][][][]
      []  

I think it would be fine to only show 4 since it's the last page number box that looks bad. Any ideas for that?
^ provide test url(s) so that someone can suggest a possible solution
(2019-05-14, 07:11 AM).m. Wrote: [ -> ]^ provide test url(s) so that someone can suggest a possible solution

https://subliminal-talk.com/Forum-User-Journals, for example. 

[Image: DoUHme2.png]
Open Themes > Square > Square.css

Delete
.pagination2 {
 width: 120px; 
}