From 0257a6659069bad73a2c4f346ff70565a994a0e2 Mon Sep 17 00:00:00 2001 From: alexweissman Date: Sun, 3 Sep 2017 00:40:02 -0400 Subject: [PATCH] fix theme examples --- pages/03.appearance/02.theming/docs.md | 46 ++++++++++++++------------ 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/pages/03.appearance/02.theming/docs.md b/pages/03.appearance/02.theming/docs.md index a7d51ef5..8d09a547 100644 --- a/pages/03.appearance/02.theming/docs.md +++ b/pages/03.appearance/02.theming/docs.md @@ -9,28 +9,24 @@ never_cache_twig: true ## Theme support +Select2 supports custom themes using the `theme` option so you can style Select2 to match the rest of your application. + +These examples use the `classic` theme, which matches the old look of Select2. + +

- Select2 supports custom themes using the - theme option - so you can style Select2 to match the rest of your application. +

-

- These are using the classic theme, which matches the old - look of Select2. +

+
-
-

- -

-

- -

-
+

+
+
+
+Various display options of the Select2 component can be changed.  You can access the ``) and any attributes on those elements using `.element`.
 
 ## Responsive design - Percent width
 
@@ -65,4 +59,14 @@ width respectively.
 
 ```
 
+

+
+
+
 >>>> Select2 will do its best to resolve the percent width specified via a CSS class, but it is not always possible. The best way to ensure that Select2 is using a percent based width is to inline the `style` declaration into the tag.