Tag Archives: html

Hidden Message in a Tumblr Post


If you are into Tumblr trends, then you might as well be asking how to display hidden messages or text in Tumblr Posts.  When you highlight a regular piece of text it blocks most part of the text revealing a phrase of your choice.  Some may wonder if it should be by default, well, if it were, it wouldn’t be so funny :) .

Hidden Messages in Tumblr Posts.

  1. Go to Customize >>> Advanced.  Once there insert the following code in Add Custom CSS; After that save and close.

  2. p::selection { background:#000;color:#000; }
    p::-moz-selection { background:#000;color:#000; }
    p span::selection { background:#fff;color:#000; }
    p span::-moz-selection { background:#fff;color:#000; }

  3. Now, let’s create a post where you can display your hidden message.  Choose a Text Post and write/paste your text.  After that click on the tiny HTML button on the edition screen, this should make the html edition screen pop up.
  4. Each part of the text that you want to display when being highlighted, meaning all the text that you want to be part of the hidden message should be surrounded by <span></span>, the rest of the text is surrounded by only a couple of <p></p> tags:

  5. <p> TEXT TEXT TEXT TEXT TEXT
    TEXT TEXT <span>HIDDEN TEXT</span>
    TEXT TEXT TEXT <span>HIDDEN TEXT</span></p>

  6. After click update on the screen and publish your post.  Here is an example of hidden message in a Tumblr Post.

Making your Tumblr an Endless Scrolling page


To make your own Tumblr have an endless scrolling page (until you reach your very own first post), also known as autopager or autopage , you just need to paste a line of code into your description, but please, pay attention to the note after that.

Tumblr with Infinite Scrolling Pages.

Paste the following line of jscript code into your description box to make your blog endless scroll.  It doesn’t matter if the description already has text or anything else, since this script won’t show up.  Your description box is located in Customize >>> Info.

<script type=”text/javascript” src=”http://proto.jp/js/tumblrAutoPager.js”></script>

NOTE: It is very important that, after you paste the code you retype all the quotation marks, there are a total of 4.  Otherwise the endless scrolling page won’t work, and I found out this is the only reason many people complain that this code is useless when it’s not.  Somehow the quotation marks get pasted in italics or backwards.

How to put a background image in your Tumblr theme


Putting or changing a background image or picture in your Tumblr theme is actually easy. However, the coding and changes to the html Tumblr theme to make it look exactly the way you want can get extremely annoying, depending on the skin you are actually using for your Tumblr layout. For example, it may not be enough just to insert the url of your image, but you will have to edit, change or delete other background colors that could be covering your image background.

Let’s get started, here is How to Put a background image in your Tumblr Theme the right way and Size:

  1. First of all, login into your Tumblr account and visit your very own Tumblr site.  Once there you will see in the top right corner a button that says Customize, click on it please.
  2. Now, in this new page, click on Theme on the top navigation bar and then click on Custom HTML at the bottom of the menu that has just dropped down (if you don’t see it you will have to close some bars in your browser theme to give it enough space to see the option Custom HTML.
  3. Copy the whole code you see here and paste it in a notepad and save it, this will be a lifesaver to go back to where we start in case you don’t remember the steps you’ve done.
  4. Now this is where it gets fun, we need to alter the inline css to include the image you want as the background of your Tumblr Theme.  First of all, find the following code in your theme:  <style type=”text/css”>
  5. Now, after that code you should find this code “body {” and inside the body tag there should be the background: line.  It is here that we need to insert the url of the image you want to use for the layout.
  6. For example, in my Tumblr the background line looks something like this:
    background: {color:Background} url(‘{image:Background}’) top left fixed repeat;
    Now replace the {image:Background} with the URL of your image (if you have it in your computer upload it to Tumblr first ), and change the top left fixed repeat for top left fixed no-repeat.
  7. Click on Update Preview and verify the image is actually showing up as you want, if it does click on the SAVE BUTTON on the top right corner of your screen and that’s it.
  8. Is that it?, well I don’t really think so, because there are several other variables that could make your image not fit into the background, the image might be too small and then the rest of the background goes black, fixed body width, other background colors that may be hovering over your background, browser size, and image height as well, but these steps are the very first to change the background image in your Tumblr.

Important Note:  I believe that the single most important thing to know here is if the body tag has a fixed width or not, if it does, just edit your image to fit that size, if it doesn’t I recommend going for a image width bigger than 1600pixels (it depends on the screen resolution you are using actually) and a height bigger than 700pixels. Beyond this, there are many other ways to make your image blend with your background, specially if it was crafted in an editor, but for photos I guess that the major tip I can give.

Please post your questions here and I’ll help you fully customize the image into your current theme.

Tumblr has a really extensive documentation on how to customize your Tumblr theme html if you want to read it.