Tired of scrolling back up when you've hit the bottom of your blog?
Here is a quick guide on how to add a cute, floating scroll-to-top button to your Tumblr theme. It fades in when you scroll down and glides smoothly back to the top when clicked!
The best part? You only need to copy and paste one thing.
The Step-by-Step
Go to Edit Appearance > Edit Theme > Edit HTML.
Click inside the code box and press Ctrl+F (or Cmd+F on Mac).
Search for (it is usually at the very bottom).
Paste the code below right before the tag.
Update Preview and Save!
The Code
(Copy everything in this box!)
<style> /* --- THE STYLING --- */ #scrollToTopBtn { position: fixed; bottom: 30px; right: 30px; z-index: 999999; /* Sits on top of everything */ border: none; outline: none; background-color: {color:Post Background}; /* Matches your post color */ cursor: pointer; padding: 12px; border-radius: 50%; opacity: 0; /* Hidden by default */ pointer-events: none; transition: opacity 0.4s, transform 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.15); border: 1px solid {color:Borders}; } #scrollToTopBtn.show { opacity: 1; pointer-events: auto; } #scrollToTopBtn:hover { transform: translateY(-5px); /* Cute hop effect */ } /* The Icon Settings */ #scrollToTopBtn img { width: 20px; /* Size of the icon */ height: auto; display: block; /* filter: invert(1); <--- UNCOMMENT THIS LINE if you need a white icon! */ } </style> <div id="scrollToTopBtn" onclick="scrollToTop()"> <img src="https://static.tumblr.com/obptcxj/p59mo0l0s/pin.png" alt="Scroll to Top"> </div> <script> var mybutton = document.getElementById("scrollToTopBtn"); // Show button when scrolling down 100px window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) { mybutton.classList.add("show"); } else { mybutton.classList.remove("show"); } } // Smooth scroll to top function function scrollToTop() { window.scrollTo({top: 0, behavior: 'smooth'}); } </script>
How to Customize
Change the Icon: Look for the line that starts with <img src="…. Replace the URL inside the quotes with any image URL you like!
Change the Color: If your icon is black but your theme is dark, find /* filter: invert(1); … / in the CSS section and remove the / and */ to turn the icon white.
Change the Position: In the CSS section, change bottom: 30px; or right: 30px; to move it around.
It would look super cute on your blog… and even cuter if you tagged me in the caption. Just saying. 👀
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
You may change the colors of it using this website.
::selection {
color: {color:background}; (THIS IS FOR THE COLOR OF THE TEXT WHILE SELECTING IT)
background: {color:text}; (THIS IS FOR THE BACKGROUND WHILE SELECTING IT)
}
Disclaimer: This code is not included on the theme I am currently using and that I have tweaked it so it can conveniently help you in editing your blog.
Hi Mina! I am new to tumblr and I was wondering, how did you put links in the about section of your blog? I want to do something similar as well with my blog but I am unable to do so. I would love it if you could help me.
Sure, sure! Let’s start. If you need any more help, reach out again :)
You'll need to use a web browser for this and NOT the app to get started. Whether you are on a tablet/PC/laptop/mobile, log into your Tumblr account through any web browser. Once you do, you’ll come to your Tumblr page looking like the image below:
2. Once you’ve accessed your blog, open Blog Settings (highlighted in the above image) in a new tab. For mobile users, click on the drop-down arrow on accounts, then select the drop-down arrow beside the account you wish to edit and open Blog Settings in a separate tab. Your page across all devices will appear like the first image below. Once it does, ensure that your Custom Theme is enabled and select Edit Theme. You should come to a page like the second image below.
3. Once you’re there, your main focus should be on the white box that’s called Description. There, you’re going to add all your links and any text you wish to include in your Description/Bio. Certain HTML codes must be included in your description for your links to be added, don’t worry, I’ll provide the codes and you can copy and paste them. If you’re able to zoom into the image, you’ll be able to see how my description was written.
Code for a break between lines: <br> (this is the code to skip lines in your Description as using the Enter key is not accepted)
Code for inserting links: <a href=“Insert your copied link here”>Insert Title of Link</a>
Note that as you are entering your text into the Description box, your words will begin to appear in the Description/Bio on the right-hand side of the screen (highlighted). It’s to show how your text and links will appear to you and others. Consider it your guide.
4. Once you are finished entering all your links and text in your Description, select Save (the blue button), but do not exit the page yet, keep it open. Return to the tab that’s opened to your blog, and click on your profile icon to open your blog in the Tumblr view version where your Description/Bio has been updated.
Do a test run to ensure that the links are correctly working and opening up to the right post/blog, etc. Once they are working, you can return to the previous tab, select Exit and then close off your tab.
Congratulations, you have successfully added links to your Description/Bio!!
Extra Pointers:
As you are on the Edit Theme page, you can also use Fancy Fonts, as seen in my Description, to add fancy text that Tumblr does not provide (optional).
Editing the colour of the text can be done on that page as you are there.
Please, once you have inserted links into your Description, you can only edit them on that page. You cannot edit your Description/Bio through the use of Edit Appearance (the paint palette icon used to change your background and pfp) otherwise it will be messed up.
How to become a fashion blogger full breakdown
The writer way
The mind is a garden where many ideas flourish and creativity overflows; however, it is also volatile and temporary, for this reason the human being has the means to express these ideas and provide them with a birth, since the beginning of history the means that have immortalized the ideas has been writing, currently technology has…
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
Free PHP Blog Tutorial using Bootstrap With Certification
Free PHP Blog Tutorial using Bootstrap With Certification
Free PHP Blog Tutorial using Bootstrap With Certification
Bootstrap and PHP Blog Tutorial Step by Step
Easy to follow PHP blog tutorial: learn how to code a blog from scratch using PHP and Bootstrap
Description
Not happy with a basic blog structure offered by popular blog-creating websites? Want to build your blog from scratch and be the one who decides where each and every pixel goes? Take…