| Re: Change the page navigation css style |
| by RiazShahid on 2011/7/3 12:58:02 novlang1984! Thanks for posting here..... I wanted to know, what modification will it do to the traditional page navigation structure i.e. (1) 2 3 4 ... 274 » Is it possible that I can have a drop down list of page numbers along with "Previous" and "Next" text or button? |
| Re: Change the page navigation css style |
| by novlang1984 on 2011/7/3 12:08:11 A full example /class/pagenav.php style.css le="color: #000000"><?php /* ===== pages navigation ===== */ #xo-pagenav{margin-bottom: 10px; text-align: center;} #xo-pagenav a.xo-pagarrow-left {background: transparent url(../icons/arrow-left.png) no-repeat center right; padding: 10px; text-decoration: none;} #xo-pagenav a.xo-pagarrow-right {background: transparent url(../icons/arrow-right.png) no-repeat center left; padding: 10px; text-decoration: none;} #xo-pagenav a.xo-pagarrow-left:hover{text-decoration: none;} #xo-pagenav a.xo-pagarrow-right:hover {text-decoration: none;} #xo-pagenav .xo-pagact {margin: 0; font-weight: bold; padding: 5px 7px; border: 1px solid #888; color: #fff; background: #aaa;} #xo-pagenav a.xo-counterpage {margin: 2px; background: #fff; padding: 2px 5px; border: 1px solid #aaa; color: #aaa; text-decoration: none;} #xo-pagenav a.xo-counterpage:hover { border: 1px solid #999; color: #fff; margin: 0; padding: 5px 7px; background: #bbb;} It works with Xoops 2.5.1 and as fas I can remember pagenav.php is the original file, not hacked (compare with Winmerge if you can). Also, be sure to clean Xoops cache... |
| Re: Change the page navigation css style |
| by acegamer on 2011/7/3 9:49:18 Hi novlang1984, Thx for your fast help. I tried first to check in the class/pagenav.php but without a good result. Then i tried just to add your css code in the style.css of my theme with my css code. But also with no results (template update option is ON in the admin setup) |
| Re: Change the page navigation css style |
| by novlang1984 on 2011/7/2 22:46:45 In style.css add Quote: /* ===== pages navigation ===== */ If needed, you can customize id and class in class/pagenav.php |
| Change the page navigation css style |
| by acegamer on 2011/7/2 22:07:16 How do you change the css style of the page navigation in xoops (ex. for the news module) (1) 2 3 4 ... 274 » |