sexycullen

theme 219 icon option

Jan 1st, 2022
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ADDING META TAGS
  2. search for <!-- booleans --> and add the follow line before or after <meta name="if:Sidebar Title" content="1" />
  3. add this: <meta name="if:Sidebar Icon" content="0" />
  4.  
  5. CSS PART
  6. search for .sidebar img { (NOT the one with the comment /* sidebar image // mobile */) and replace everything there with this:
  7. {block:ifNotSidebarIcon}
  8. width:268px;
  9. height:auto;
  10. object-fit: cover;
  11. display:block;
  12. margin: 0 auto 5px;
  13. {/block:ifNotSidebarIcon}
  14.  
  15. {block:ifSidebarIcon}
  16. width: 100px;
  17. height:100px;
  18. object-fit: cover;
  19. border-radius: 50%;
  20. margin: auto auto 1rem;
  21. {/block:ifSidebarIcon}
  22.  
  23.  
  24. HTML PART
  25. search for <div class="sidebar-title"> and cut all and including the tags {block:IfSidebarTitle} ... {/block:IfSidebarTitle}
  26. what you'll need to do is add this code before <div class="description">, this way the title will be before description and the image before them all
  27.  
  28.  
Advertisement
Add Comment
Please, Sign In to add comment