• Resolved castalina

    (@castalina)


    I have placed a Pages widget in Footer area 3, so that the site pages will display. I have chosen to sort the pages in order, not by page title. It still however lists the pages in alphabetical order. I would rather have them in the actual order they appear on the site. How do I do this?

    I also would like the pages listing in the footer to be centered under the Pages heading. Now it is listed to the left. How do I change this?

    My site (under development) is: https://www.bobstterapi.se/

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to set the order yourself by editing each page (it’s under the page attributes).

    As to the placement: It looks odd because the list of pages is on the left, but the heading is centred. There are several solutions to make it look better.

    1. Centre the list. This isn’t ideal either. Do this with:

    .widget_pages ul {
        text-align: center;
    }

    2. Put a margin on the list. This will break down badly on small screens or if you make font changes. If you really want to, you can do this with:

    .widget_pages ul {
        margin-left: 140px;
    }

    3. A pragmatic answer: left align the title. Do this with:

    footer#footer .widget_pages h3 {
        text-align: left;
    }

    But then it’s not inline with the featured pages, so it’s not ideal either.

    If you adopt solution 3, the list will look better in footer widget area 1, if you have other material to balance it out in footer widget area 3.

    Thread Starter castalina

    (@castalina)

    Thank you, got the side order right now with your help, and the alignment!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pages widget in footer doesn't sort site pages correctly’ is closed to new replies.