You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,11 @@ For a quick and simple way to implement the Quick Menu into your project, we can
42
42
The customisation capabilities are reduced by using a CDN, however you should still be able to make modifications by overwriting the Quick Menu styling properties in your own custom CSS.
43
43
44
44
```html
45
-
<!-- Latest compiled CSS. To be placed in the <head> above over stylesheets. -->
We recommend placing the stylesheet before any of your own custom stylesheets, which will ensure your customisations take precedence where possible. Similarly, it's required to place the script before any of your own custom scripts too.
@@ -132,29 +132,34 @@ When in responsive mode for mobiles and tablets, the menu is fixed at the bottom
132
132
133
133
#### Full Fledged
134
134
```html
135
-
<!-- Full Fledged: including FontAwesome icons, menu heading content, customised wording on open and close buttons. -->
135
+
<!-- Full Fledged: including SVGs as icons (not supplied), menu heading content, customised wording on open and close buttons. -->
136
136
<divclass="quick-menu navigation">
137
-
<divclass="button"><iclass="fas fa-bars"></i> My Menu</div>
The Quick Menu has been designed to enable you to use any iconography set on the menu, including images/SVGs, fonts and etc. Any icon styling will need to be applied from your own custom CSS. However we have introduced a `qm-icon` class to provide minimal styling to reduce your workload.
160
+
161
+
If you're using FontAwesome icons via the `<i>` element for example, you can apply the `.qm-icon` class directly to the element. Otherwise you can wrap your icons in a `div` element with the `.qm-icon` class.
162
+
158
163
### The `.qm-only` Class
159
164
As a part of your requirements you may need to present additional content or features (e.g. such as a search field) inside the Quick Menu. You can embed additional content inside the `.menu` div (as illustrated in the "Minimal: Renaming Close Button" and "Full Fledged" HTML examples above).
160
165
@@ -220,7 +225,6 @@ We appreciate your contributions to making this a better project for all of us.
220
225
During participation on the Quick Menu project, we maintain a [Code of Conduct](https://github.com/aullah/quickmenu/blob/main/CODE_OF_CONDUCT.md) which we require all individuals to adhere to.
221
226
222
227
## To-Do / Future Plans
223
-
* Remove FontAwesome specific styling and ensure compatibility with any iconography.
224
228
* Provide the ability to toggle themes manually.
225
229
* Implement the ability to have sub-menus for both desktop and mobile devices.
0 commit comments