1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Adjusting number of page links shown in PageNav?

Discussion in 'XenForo Questions and Support' started by DeltaHF, Aug 26, 2013.

  1. DeltaHF

    DeltaHF Well-Known Member

    Is it possible to adjust the number of pages displayed in the PageNav?

    I find there's just a few too many shown by default, especially when longer page numbers (and mobile screens) become a factor.

    UPDATE: I've figured out I can sort-of do this by editing the width of the "scrollable" segment of the PageNav with the following addition to EXTRA.css. You'll need to adjust this to your own needs.

    HTML:
    .PageNav .scrollable {
        width: 61px;
    }
     
    Last edited: Aug 26, 2013
    DRE likes this.
  2. DRE

    DRE Well-Known Member

    Wow thank you so much for this. I hate them small number links. You should post this as a resource. Bout to do this now.
     
  3. DeltaHF

    DeltaHF Well-Known Member

    You're welcome, but be careful, as I have since discovered some bugs with that solution (some page links will be hidden, depending upon the number of pages shown). I'll definitely consider putting together a resource once I get everything straightened out.

    Reconfiguring the page nav is way too hard in XenForo.
     
    Joe Link and Bram like this.
  4. DRE

    DRE Well-Known Member

    Darn.
     

Share This Page