• There is a css error in the file wp-pagenavi-style.php on lines 112 and 122 with this code: margin-right:auto; !important’; (extra semi-colon before !important)

    Change 112 from

    .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';} ?>}

    to

    .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';} ?>}

    and line 122 from

    .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';} ?>}

    to

    .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';} ?>}

    https://www.ads-software.com/plugins/wp-pagenavi-style/

  • The topic ‘CSS Error Fix’ is closed to new replies.