README.md in spree_custom_notifications-0.3 vs README.md in spree_custom_notifications-0.4
- old
+ new
@@ -5,11 +5,11 @@
1. Spree Admin -
Notification link is added in `Configuration Menu`.
- Admin is able to CURD on Notification.
+ Admin is able to CRUD on Notification.
2. Spree Store -
If the notifications are disclosed by user, they are not displayed again during same session.
@@ -48,9 +48,29 @@
-------------
You can customize the styling of notification by using spree
assets customization logic.
+Example: If you want to change background-color of notifications:
+
+Add in `app/assets/stylesheets/store/custom.css`
+```css
+#notification_div{
+ background-color: gray;
+}
+```
+
+Then, require custom.css in your `app/assets/stylesheets/store/all.css`.
+
+```css
+/*
+ *= require store/spree_frontend
+
+ *= require store/spree_custom_notifications
+ *= require_self
+ *= require_tree .
+*/
+```
Refer -
[http://guides.spreecommerce.com/developer/asset.html](http://guides.spreecommerce.com/developer/asset.html)
Copyright (c) 2014 [Cuberoot Software](http://www.cuberoot.in), released under the New BSD License