


#CSS SHAPE DRUPAL ICON UPDATE#
I have tried on firefox 4 and IE 8 Thanks for your help Update - HTML Header code added below. The idea is to create two sides using a class=”star”, the other two sides using the ::after element, and the last side using the ::before element.īorder-bottom: 4.3 em solid rgb ( 255, 174, 81) īorder-bottom: 5 em solid rgb ( 255, 174, 81) īorder-right: 1. 2 I have uploaded a new favicon onto a Drupal site, cleared my cache, and it is still showing as the drip icon, It only displays the custom icon when I am logged in and in the back end. You’ll need to manipulate the borders using the rotate value of the transform.
Also, you can create a triangle pointing towards the right direction or a right-angle triangle by playing around with border-width and border-color.īorder-bottom: 5 em solid rgb ( 145, 236, 252) īorder-color: transparent transparent transparent rgb ( 245, 149, 221) īorder-color: transparent transparent transparent rgb ( 151, 235, 158) 1 Currently, I am playing with HTML and CSS and I wanted to make a icon from this image the image is somewhat like that. Default White Red Blue Customize drupal You can integrate Icon in web pages by just adding following below syntax & icon code. The reference box TheFor instance, you can create a triangle pointing towards the upward direction by giving the border-bottom a solid color while all the other borders are set to transparent. Then in your module's webtrack_update_reminder.You can play around with height and border-color to get different types of triangles.
#CSS SHAPE DRUPAL ICON DOWNLOAD#
This is important, because it will download a dependancy of SVGSanitizer. So, even though the membership base has dwindled as I stopped adding new content, it also has stayed relatively strong, especially for a product that hasnt been updated in over 5 years. You can display these icons in your frontend theme using twig or render them as a fields. The tutorials on BuildAModule have stayed oddly relevant, even today, due to large organizations standardizing on older versions of Drupal. In your module's webtrack_update_ file, something like this: toolbar-icon:Ĭss/webtrack-update-reminder-toolbar-icon.css: 26 Icon Select Module This module allows you to upload and display SVG icons in the drupal backend. Without the type attribute it would always do a postback and ignore the link.
However, in Firefox I got it working only with