Suggestions for style revisions
-
I find that default styles are just horrendous, taking them out is easy, but it would be nice if the plugin shipped with better default styles that fit well into any theme. Below is my suggested styles that should work nicely with any site right out of the box.
P.S. The styles assume that the following 2 changes have been made to the output code.
Pagination is wrapped in$aPage["PAGINATION"] = "\t<div id=\"pageDiv\">\r".$sPageButtons."\t</div>\r";
(no align center, so users can position it as they wish).
Current page is wrapped in a span with an appropriate class name.
$sPageButtons .= "\t\t<span class=\"pageActive\">".$i."</span>\r";
.ItemTitle { font-weight: bold; } .ItemAuthor, .ItemDate { font-style: italic; } .ItemDate { font-size: .9em; } .ItemSeparator { border: 0px; /* FF, Opera */ height: 0; border-top: 1px solid #ccc; } a.ItemTitleLink { text-decoration: none; } a.ItemTitleLink:hover { text-decoration: underline; } a.prevLink, a.nextLink, a.pageLink, span.pageActive { text-decoration: none; padding: 3px 5px; } a.prevLink:hover, a.nextLink:hover, a.pageLink:hover { background: #eee; } span.pageActive { font-weight: bold; } #pageDiv { text-align: center; }
Hope this is helpful.
https://www.ads-software.com/extend/plugins/fetch-feed-shortcode-pageable/
- The topic ‘Suggestions for style revisions’ is closed to new replies.