简体   繁体   中英

Wordpress Custom Theme Pagination Issue

I work for 2 sister companies and we have copied the template of one website to another for most of the functionality.

For some reason, I cannot get the pagination to work as it does on the one website. We are using a custom theme so I can't seem to get any plugins to work.

The pagination works well here: https://clcanursing.co.uk/news/ and I want to be able to replicate how it looks and how it reacts to tablet and mobile devices. I am trying to copy it onto this page: http://clcacalldirect.com/blog/ but it fails here.

Any help would be appreciated!!

Thanks, Andy

It seems like your issue is CSS related. You're missing some styles (like the one below). Make sure you're copying over all styles.

Use dev tools to see the differences between the two slices of code.

EDIT: The below code gives you the exact style and functionality on tablet/mobile

@media (max-width: 1200px) {
    .pagination .default--button {
        border-radius: 0;
        width: 49% !important;
        text-align: center;
        margin-top: 70px;
    }
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM