Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PagedList.css README reference

I don't use the full Twitter Bootstrap package. Instead, I wanted to
reference the PagedList.css file that comes in the NuGet package. I
noticed this file was omitted from the README and wanted to outline how
a user can leverage MVC4's new bundling and minification feature to
include it if they don't already use the full Bootstrap styling.
  • Loading branch information...
commit 0d8ab1001f9469fa4365b9deeffeccb8132633fa 1 parent b950ae7
@killnine killnine authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.markdown
View
8 README.markdown
@@ -128,6 +128,14 @@ The HTML output by Html.PagedListPager is configured to be styled automatically
![Out-of-the-box Pager Configurations](https://github.com/TroyGoode/PagedList/raw/master/misc/DefaultPagingControlStyles.png)
+If your project does not reference the [Twitter Bootstrap](http://twitter.github.com/bootstrap) project, the NuGet package contains a stand-alone `PagedList.css`. You can reference this style sheet manually or, if using MVC4, reference within `BundleConfig.cs` and take advantage of bundling and minification automatically.
+
+Simply append `"~/Content/PagedList.css"` to where Site.css is already bundled, yielding:
+
+```csharp
+bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css", "~/Content/PagedList.css"));
+```
+
### Out-of-the-box Pager Configurations
```html

0 comments on commit 0d8ab10

Please sign in to comment.
Something went wrong with that request. Please try again.