Make WP PageNavi full width and centered?

[ad_1]

Hello everybody,

i use WP PageNavi to create a better navigation and i have a big issue. It floats just wherever is free space, but i want to have it under the latest posts, aligning it center and make it full width, so it doesn’t float away again. I have added the following CSS but it doesn’t do the trick. Has anyone an idea?

`.wp-pagenavi{text-align:center;width:100%;margin:50px;display:block}.wp-pagenavi:last-child,.wp-pagenavi a,.wp-pagenavi span{padding:6px 12px;margin:0}.wp-pagenavi a,.wp-pagenavi span{border-right:none!important;font-weight:700!important;color:#999!important}.wp-pagenavi a:hover,.wp-pagenavi span.current{color:#000!important;background-color:#ddd!important}.wp-pagenavi :first-child{color:#000!important}`

Here’s how it currently looks like (from [www.gooloo.de](https://www.gooloo.de))

​

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer