Tutorials, tips and tricks about Blogger

12 Jul

Static side menu on Blogger

0 Comments | by in Design, Tips and Tricks | 2009

Español Português

Navigation in our blog or website is an important matter to take care of, and menus are very important to do this. Here we’ll show your how to set a static side menu in your website or blog, which means, when you scroll down the menu will be in the same position.

The menu we’re talking about is very popular on blogs, and will see like this:

  1. Go to “Layout” tab, and then to “Edit HTML”.
  2. Search for the following code:
  3. ]]></b:skin>

    For other CMS or web system, find the place for styles or your CCS file.

  4. Just before that write the following:
  5. #sidemenu{
    /*If the menu location is not ok, modify the next values */
    * html #sidemenu{  /*for IE*/
    #sidemenu a img{
    #sidemenu a:hover img{
    * html #sidemenu a img{
    #sidemenu img{
     margin-bottom: -5px;
    * html .sidemenu{
     margin-bottom: -3px;
  6. Now search for the following code:
  7. <div id='content-wrapper'>

    For other templates coul be better to find “<div id=’outer-wrapper’><div id=’wrap2′>”. Fo other CMS find the main div.

  8. Right after that code write the following:
  9. <div id='menulateral'>
     <a href='http://YOURBLOG.blogspot.com/' style='border:0;' title='Beggining'><img alt='Beggining' class='sidemenu' src='http://bp3.blogger.com/_Zuzii37VUO4/RlpT2Zya1AI/AAAAAAAABoI/6EXVwJ-0xxc/s1600/menu-lateral-inicio.png'/></a>
     <br/><a href='#BlogArchive1' style='border:0;' title='File'><img alt='File' src='http://bp2.blogger.com/_Zuzii37VUO4/RlpT2Jya08I/AAAAAAAABno/fEetH56Ftgw/s1600/menu-lateral-archivo.png'/></a>
     <br/><a href='mailto:YOUR-MAIL@server.com' style='border:0;' title='Contact'><img alt='Contact' class='sidemenu' src='http://bp3.blogger.com/_Zuzii37VUO4/RlpT2Zya0-I/AAAAAAAABn4/F5Ax7A_8rLA/s1600/menu-lateral-contacto.png'/></a>
     <br/><a href='http://YOURBLOG.blogspot.com/feeds/posts/default' style='border:0;' title='Subscribe our Feed'><img alt='Subscribe our Feed' class='sidemenu' src='http://bp3.blogger.com/_Zuzii37VUO4/RlpT2Zya0_I/AAAAAAAABoA/HgSHFryV6kc/s1600/menu-lateral-feed.png'/></a>
     <br/><a href='#' style='border:0;' title='Up'><img alt='Up"' class='sidemenu' src='http://bp3.blogger.com/_Zuzii37VUO4/RlpT2Zya09I/AAAAAAAABnw/38HqImjH21E/s1600/menu-lateral-arriba.png'/></a>

    In that code, make the next substitutions:

    “http://YOURBLOG.blogspot.com/” – Your blog’s address.
    “YOUR-MAIL@servidor.com” – Your e-mail address.
    “http://YOURBLOG.blogspot.com/feeds/posts/default” – Replace “YOURBLOG” for that part of your blog’s address.

  10. Save the changes, and that’s it.

Lee este artículo en español: Menú lateral fijo en Blogger.


You must be logged in to post a comment.

Tutorials, tips and tricks about Blogger