sexycullen

theme 216 custom icon

Sep 14th, 2020 (edited)
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. ** SCRIPT FONT
  2. add the script between <head></head> (at the beginning of the theme, after the <meta> tags):
  3. <link href="//solrainha.github.io/saturnicons/saturnicons.css" rel="stylesheet">
  4.  
  5. ** CSS PART
  6. add this in the css:
  7.  
  8. /* the icon before the title */
  9. .update-title:before {
  10. content: "\e08d";
  11. font-family:'saturnicons';
  12. font-size:8px;
  13. margin-right: 5px;
  14. vertical-align:middle;
  15. color:#111111;
  16. -webkit-transition: all 0.2s ease-in-out;
  17. -o-transition: all 0.2s ease-in-out;
  18. transition: all 0.2s ease-in-out;
  19. cursor:auto;
  20. }
  21.  
  22. .update-toggle:checked + .update-title:before {
  23. content:"\e0c7";
  24. transform: rotate(90deg) !important;
  25. }
  26.  
  27.  
  28. ** CUSTOMIZATION
  29. if you want to change the icons:
  30. 1. first enter here: https://suiomi.com/font, scroll down and choose one, copy their name
  31. 2. then, you go to this list: https://suiomi.com/font/unicode
  32. 3. press CTRL + F or (CMD + F) and place the name you copied
  33. 4. copy only the content of what you found. ex: \e00b
  34. 5. go back to your theme and replace with the content there
  35. ".update-title:before" is the one before you clicked
  36. ".update-toggle:checked + .update-title:before" is the one after you clicked
  37.  
  38. you can edit the size as font-size, the color is color:#111111
Add Comment
Please, Sign In to add comment