Nice plugin, one bug found
-
Thanks for such great plugin!!! But one bug found. I tried to set the “Align Navigation” to “Center”, but it does not work. I then could fix it by update the wp-pagenavi-style.php file (in the plugin folder). Here is how I fixed it:
Search for (line 112, 122):
.wp-pagenavi{<?php if($options['align']=='right'){echo 'float:right !important; ';} elseif($options['align']=='left'){echo 'float:left !important; ';} else { echo 'margin-left:auto !important; margin-right:auto; !important';} ?>}
replace with:
.wp-pagenavi{<?php if($options['align']=='right'){echo 'float:right !important; ';} elseif($options['align']=='left'){echo 'float:left !important; ';} else {echo 'margin-left:auto !important; margin-right:auto !important; text-align: center;';} ?>}
I hope this help other that trying to make the navigation center aligned.
Cheers!
- The topic ‘Nice plugin, one bug found’ is closed to new replies.