The Styling Hook
We had a bit of a go-round on the best way to deliver the paged comments code, because one AstonishMe! team member wanted to include basic styling right into the code itself. In the end, that member was reminded of how much they disliked styling in the code and so we offer a styling hook instead.
In this case, the styling hook for the page controls, is the <div> class name (i.e., pgdCmnts). This allows one to style the link, the color and position for all elements contained in the <div>
Suggested CSS
Out of the box, the unstyled controls look a little clunky. By adding the following CSS to your skin's CSS file, you can smarten them up immediately and then play with the styling to suit your needs. Just copy and paste the code anywhere in your CSS file, though we generally recommend it go at the bottom.
PHP:
|
|
|
|
|
|
|
|
| |
| .pgdCmnts |
| { margin:10px auto; |
| text-align:center; |
| font-size:.9em |
| } |
| .pgdCmnts span |
| { color: |
| background:inherit; |
| } |
*****************************************************************************************************************************
Recent comments