Thursday, October 28, 2010

Remove Blogger Navigation Bar AND whitespace

Problem
Didn't want the default Blogger NavBar.  Found a way to remove / hide it, but the whitespace reserved for it remained.

Solution
The "#navbar-iframe" code below removes the NavBar, but in my case it did not remove the whitespace.  The following line was supposed to remove the whitespace but did not; so I started adjusting it with negative numbers and bingo!  For this blog I found -60 removed all the whitespace, results may vary!

Add the following code within the STYLE section of your template if there is one, otherwise add the STYLE tags as below.

<style type='text/css'>
<!--Remove NavBar -->
#navbar-iframe {height: 0px; visibility: hidden; display: none;}
body #header {margin-top:-60px !tweak until you get desired results;}
</style>


Add it where???
If you're not familiar with editing the template, here is a step-by-step guide:

  1. Log into your blogger.com account
  2. Within "Manage Blogs", click DESIGN on the blog you want to apply this to
  3. You will be taken to the "Page Elements" screen.  Now click EDIT HTML under the tabs.
  4. To be on the safe side, you may want to backup your current template with the option provided
  5. Search for "</style>" on the page to see if there is a style section, if there is, add the code there (without the STYLE lines).
  6. If not, search for </head> and then add the code above it, including the STYLE lines.
  7. Preview it, if it still has whitespace try increasing the number.  If it cuts off your header, try decreasing the number.  Increments of 10 would be good to work with.


Update: (you  may need to follow these steps for different templates)

Here are the steps to remove the Blogger Navigation bar /Blogger Nav Bar
1. Log into your blogger account
2. From your Dashboard choose Layout
3. Now choose the Edit Html option
4. You will see your template code
5. Optional: you may want to copy and paste it to Notepad (or something) as a backup
6. In that template code find
]]></b:skin>
and replace it with

#navbar-iframe,#navbar { display: none !important; }
]]></b:skin>
7. Preview it - the nav bar should be gone. 
8. Now select SaveTemplate.

1 comment:

  1. MapleStory.es - 3D isometric adventure MMORPG<

    Download MapleStory and start the game.

    https://maplestory.es/

    MapleStory is a free to download 2D online video game of the MMORPG genre, created by the Korean company Wizet. Although the game is free to play, it includes other items that can be purchased for real money. Around the world, the game has millions of users. The story of the game is about some travelers who seek to save the Maple World from the terrible Black Mage. In this plot, the travelers become stronger as they eliminate the enemies of the game, many creatures of different appearance. As they advance in level, travelers choose the paths and disciplines to follow, which we will detail below.

    What is MapleStory?
    MapleStory 2 is a 3D isometric adventure MMORPG in which players create their own character and select one of several jobs to explore the new Maple World. Players will find several NPCs with various Quests, Monsters, and Bosses from the previous version, as well as completely new ones to fight against. The game also features dungeons and raids for players to team up with each other to complete.

    Out of action
    There are also a variety of activities for players to participate in, such as buying and building personal homes, crafting with Life Skills, fishing, composing music, creating custom user content such as custom clothing, and much more.

    History of the last UPDATE
    Nexon published the first closed beta test of the global version which ran from May 9, 2018 to May 16, 2018, and a second closed beta ran from July 18 to August 1, 2018. The game launched on October 10, 2018 with players who purchased a Founder's Pack on or after October 1, 2018. On Wednesday, May 27, 2020, Nexon ended service for the global version of MapleStory 2.

    https://maplestory.es/

    ReplyDelete

Please let me know if this helped you out, or if you would like to submit other suggestions or correct something I may have mis-stated.

About Me

My photo
Science Fiction Author / Vice President of Technology for The Christman Company