Copy the new pagenavi-css.css file over to your theme directory and make your modifications on that.
That didn’t work either..
Paste the URL to your site.
My site is under construction so I took a screenshot instead… if you need to see the page source I can copy part of it and paste it here too.
http://i938.photobucket.com/albums/ad221/liesl020609/pagenavi.png
This is the modified CSS:
.wp-pagenavi {padding-top:5px;margin-bottom:60px;}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi span {
background:url(/wp-content/themes/concise/images/bg_pagelink.png) no-repeat;
color:#555;
width:31px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
.wp-pagenavi a:visited {
background:url(/wp-content/themes/concise/images/bg_pagelink.png) no-repeat;
color:#555;
width:31px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
.wp-pagenavi a:hover {
background:#372529;
color:#ffffff;
text-decoration:none;
background:url(/wp-content/themes/concise/images/bg_current_pagelink.gif) no-repeat;
}
.wp-pagenavi a:active {
background:url(/wp-content/themes/concise/images/bg_pagelink.png) no-repeat;
color:#555;
width:31px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
.wp-pagenavi span.pages {
background:url(/wp-content/themes/concise/images/bg_pagetext.gif) no-repeat;
color:#fff;
width:94px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
.wp-pagenavi span.current {
background:url(/wp-content/themes/concise/images/bg_pagelink.png) no-repeat;
color:#555;
width:31px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
.wp-pagenavi span.extend {
background:url(/wp-content/themes/concise/images/bg_pagelink.png) no-repeat;
color:#555;
width:31px;
height:27px;
display:block;
float:left;
font:0.9em verdana;
padding-top:6px;
margin-right:5px;
text-align:center;
}
Uncheck the “Use pagenavi-css.css” checkbox in Wp-Admin -> Settings -> PageNavi.
If that doesn’t work, try adding this:
.wp-pagenavi * {border: 0 !important}
That got rid of the border but I had to use the !important tag for everything else and I had to use negative numbers (like padding:-5px;) to adjust the text properly. It was strange that I had to do that but at least it worked. Thanks!
That got rid of the border but I had to use the !important tag for everything else and I had to use negative numbers (like padding:-5px;) to adjust the text properly. It was strange that I had to do that but at least it worked. Thanks!