LouisBarranqueiro / hexo-theme-tranquilpeak

:lipstick: A gorgeous responsive theme for Hexo blog framework
https://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/
GNU General Public License v3.0
1.86k stars 484 forks source link

How can I remove the text in the sidebar and only show the icon? #27

Closed gapplef closed 9 years ago

gapplef commented 9 years ago

How can I remove the text in the sidebar and only show the icon? Just like this one: effect btw: user may be a better icon for "About me"

LouisBarranqueiro commented 9 years ago
  1. Actually, you can't. The theme is responsive and this bar and only displayed when the user's screen is between 768px and 1023. To do that you have to change the CSS code and precisly the source/_css/layout/_siderbar.scss and apply the same style (medium style) for all screen medias
  2. you can easily change the icons by finding the font-awesome icon class name and edit it in `_config.yml of the theme.

But your problem 1, gave me an idea. Would like to have a value to choose the style (behavior) of the sidebar directly in _config.ymlof the theme.

gapplef commented 9 years ago

wow, replied so fast, thank you! A sample value in _config.yml to disable the display of text in sidebar is exactly what I want! waiting for your update😊

LouisBarranqueiro commented 9 years ago

ok, i'm on it. :)

LouisBarranqueiro commented 9 years ago

That's it. Tomorrow, i'm going to release the new version (1.1) of the theme with this features and some other news. Stay tuned :)

gapplef commented 9 years ago

So quick😊 Great job! Really appreciate your work

LouisBarranqueiro commented 9 years ago

Tranquilpeak v1.1.0 is here :)