Magnin-template: Pagination / Next & Back-Links - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Magnin-template: Pagination / Next & Back-Links

R

RaBauKi

Template 3 years ago

Hi there,

I am currently building my page with the "Magnin" template and ran into two other problems (Joomla 4.0.5, php 7.4):

  1. How to get pagination-links (< 1 2 3 4>) responsiv?
  2. How to show the "Next" and "Back" - Buttons/Links in Blogview in this template?

Best regards

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #48599

Hi,

  1. You can try to change/reduce the font size and/or pading values of your pagination part for smaller devices. You can change the pagination number in the blog page either. To do that, please go to this location: libraries/src/Pagination and in Pagination.php file on line 159 by default is $displayedPages = 10; I have changed it to $displayedPages = 2; and it shows like this: https://prnt.sc/1aftyi5

  2. Actually, maybe possible but it requires code customization, so beyond support. Only can suggest the file path: \templates\template_name\html\pagination.php

Best Regards

0
R
RaBauKi
Accepted Answer
3 years ago #48659

Thank you.

  1. I tried this code, it helps a little bit without changing files:
@media (max-width: 767px) {
.pagination {
display: flex;
flex-wrap: wrap;
row-gap: 10px;
}
}
  1. Sorry, i think this was a missunderstanding. I´m talking about the "prev" and "next"- Buttons shown as navigation which can be displayed as navigation elements from Joomla under individual articles. Somehow these are not displayed with the "Magnin"-template. Is this a template error? Because I activated the page navigation in the Joomla settings.

Best regards

0