Advertisement
oxguy3

Steamblr guide

Jul 1st, 2013
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. ==================================
  2. STEAMBLR
  3. ==================================
  4. Based on store.steampowered.com/news
  5. Assembled by oxguy3
  6.  
  7.  
  8.  
  9. ======================
  10. Customize menu options
  11. ======================
  12.  
  13. Lock header logo height
  14. default: 1
  15. The header logo image's height will be forcibly set to 44px. This will
  16. prevent the logo from resizing the header or making it look weird, so only
  17. disable it if you know what you're doing.
  18.  
  19. Replace blue with green
  20. default: 0
  21. The title bars for the blocks in the sidebar will change from blue to green.
  22.  
  23. Show Archive link
  24. default: 1
  25. A link to your archive will be included in the navigation bar.
  26.  
  27. Show Home link
  28. default: 1
  29. A link to your home page will be included in the navigation bar.
  30.  
  31. Show RSS link
  32. default: 1
  33. A link to your RSS feed will be included in the navigation bar.
  34.  
  35. Show Random link
  36. default: 1
  37. A link to "/random" will be included in the navigation bar.
  38.  
  39. Show description block
  40. default: 1
  41. The blog description will be shown in a sidebar block.
  42.  
  43. Show search block
  44. default: 1
  45. A search bar will be shown in a sidebar block.
  46.  
  47. Show share links
  48. default: 1
  49. A handful of sharing icons will be shown below every post next to the date.
  50.  
  51. Show share to Digg
  52. default: 1
  53. A share icon for Digg will be included with the share links on every post
  54. ("Show share links" must be enabled for this to have any effect).
  55.  
  56. Show share to Facebook
  57. default: 1
  58. A share icon for Facebook will be included with the share links on every
  59. post ("Show share links" must be enabled for this to have any effect).
  60.  
  61. Show share to Google Plus
  62. default: 1
  63. A share icon for Google+ will be included with the share links on every post
  64. ("Show share links" must be enabled for this to have any effect).
  65.  
  66. Show share to Reddit
  67. default: 1
  68. A share icon for Reddit will be included with the share links on every post
  69. ("Show share links" must be enabled for this to have any effect).
  70.  
  71. Show share to Twitter
  72. default: 1
  73. A share icon for Twitter will be included with the share links on every post
  74. ("Show share links" must be enabled for this to have any effect).
  75.  
  76. Show tags
  77. default: 1
  78. Tags will be visible below every post.
  79.  
  80.  
  81.  
  82. Header background
  83. default: [none]
  84. A repeated/tiled background for the header. If no image is set, the
  85. background will default to http://i.imgur.com/wPyV5bN.jpg
  86.  
  87. Header logo
  88. default: [none]
  89. The logo to be shown in the header. If no image is set, the blog title will
  90. be shown instead. Ideally, the logo should be 176px by 44px, like this one:
  91. http://i.imgur.com/UL5XJyw.png
  92.  
  93.  
  94.  
  95. Description block title
  96. default: [none]
  97. A title for the description block in the sidebar. If none is set, the
  98. block's titlebar will be hidden. ("Show description block" must be enabled
  99. for this to be visible)
  100.  
  101. Disqus Shortname
  102. default: [none]
  103. If you wish to have Disqus enabled on your blog, register your site at
  104. https://disqus.com/admin/signup/. Enter the shortname that you chose during
  105. the registration process in this field.
  106.  
  107. Extra block 1/2/3 body
  108. default: [none]
  109. To create an extra block in your sidebar, fill this in with any content
  110. you wish to add. Even though the box is very small, you can enter a lot of
  111. text or even HTML. If any of the these three fields are left blank, the
  112. corresponding block will not be visible at all (including the title).
  113.  
  114. Extra block 1/2/3 title
  115. default: [none]
  116. To add a title to any of the extra blocks in your sidebar, put your title in
  117. this field. If any of these three fields are left blank, the corresponding
  118. block will not have a titlebar. (The corresponding "Extra block 1/2/3 body"
  119. field must be set for these titles to be visible)
  120.  
  121.  
  122.  
  123. =================
  124. Additional tricks
  125. =================
  126. The theme can be further customized by adding custom CSS or other special code.
  127. Here are a few tricks specific to this theme that might be useful.
  128.  
  129. Chat label colors
  130. There are several ways you can colorize the labels of chat posts. If you
  131. would like each unique name in a chat post to have a different color, use
  132. this code: (Replace each "COLORCODE" with a different valid CSS color value.
  133. You can use any of these formats: w3schools.com/cssref/css_colors_legal.asp)
  134.  
  135. .post-chat ul.chat li.user_1 .label {color:COLORCODE;}
  136. .post-chat ul.chat li.user_2 .label {color:COLORCODE;}
  137. .post-chat ul.chat li.user_3 .label {color:COLORCODE;}
  138. and so on...
  139.  
  140.  
  141. Alternatively, if you would like a specific username to be a certain color
  142. every time it appears in any chat, use this code:
  143.  
  144. .post-chat ul.chat li[chatlabel="USERNAME:"] .label {color:COLORCODE;}
  145.  
  146.  
  147. Alternatively, you can specify colors for every other row with this code:
  148.  
  149. .post-chat ul.chat li.even .label {color:COLORCODE;}
  150. .post-chat ul.chat li.odd .label {color:COLORCODE;}
  151.  
  152.  
  153. If you would like to alter any of the above codes so that they apply to the
  154. entire line instead of just the username part, remove ".label" from the
  155. code. If you would like to make any of the codes apply to just to the
  156. message instead of the username part, replace ".label" with ".chatline".
  157.  
  158.  
  159. Tag formatting
  160. To remove the pound sign from in front of tags, add this CSS code:
  161.  
  162. span.tag:before {content:"" !important;}
  163.  
  164.  
  165. To add commas in between tags, use this CSS code:
  166.  
  167. span.tag:not(:last-child):after {content:",";}
  168.  
  169.  
  170. Sidebar lists
  171. To create a nice looking list of links in a sidebar block, edit this code
  172. to suit your needs, then enter it in one of the "Extra block 1/2/3 body"
  173. sections of the Appearance menu (you can remove the section titles or
  174. rearrange the lines in whatever order you want; they are just there if you
  175. want them):
  176.  
  177. <div class="block_sub_header_channels">SECTION TITLE</div>
  178. <a class="linkbar" href="URL">LINK TITLE</a>
  179. <a class="linkbar" href="URL">LINK TITLE</a>
  180. <div class="block_sub_header_channels">SECTION TITLE</div>
  181. <a class="linkbar" href="URL">LINK TITLE</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement