Smart Pagination

Started by DanCarlos, September 11, 2020, 02:39:51 AM

Previous topic - Next topic

DanCarlos

This mod "https://custom.simplemachines.org/mods/index.php?mod=3235" is not available in SMF 2.0.17, please create this kind of MOD available to 2.0.17

Antechinus

It doesn't really need a mod as such. You can do it pretty easily just with CSS. That's really all it is, and you'd have to edit the code to make it match custom themes anyway.

In basic form:

a.navPages {padding: 4px; background: #fff; border: 1px solid #ccc;}
a.navPages:hover {background: #346; color: #fff;}

DanCarlos

Please tell me what is the name of CSS file that i need to open to apply those codes.


Antechinus

index.css (you can just add it at the end of the file). Colours, paddings, margins, borders, etc can be changed to suit your preference. Note that after CSS changes you will need to hard refresh your browser (reload button, or F5).

If you want to play with this stuff to any extent, it's handy to have a browser add-on. Makes testing changes a lot quicker and easier.

https://add0n.com/stylus.html

DanCarlos

Already worked. :)

Topic Solved!

Thank You.  :)

Advertisement: