The above is what we’ll be working on to achieve. Due to my previous blog’s reboot, the link to my original tutorial on this broke in reblogs, so here is a rewrite; hopefully a little clearer than my initial write-up of this. Anyway, ever wondered if it’s possible to have the text that’d normally sit below your icons, to wrap around it instead? It wasn’t possible before, but it is now. And it’s not as difficult as one might think. This is part two of two (part 1 here), which focuses on coding this into your theme. This is the less tedious way of the two as it makes the process automatic, but it comes at the expense of some control and flexibility. Keep in mind, that your code may look a little different from my own.
A very important note: If the code is non-responsive when copying it over into your theme, double check each quotation mark in the lines of code; as copying these over can sometimes have Tumblr replace them with a more cursive variant of them, which ruins the code— so if you notice any problems, simply retype the quotation marks yourself.
Step 1. Open up your theme’s customization, and head into Edit HTML, then open up your Search and find the following line: </style>
Step 2. Make some room above it, just a couple of lines, this is where you’re going to put the styling of the text-wrapping. You can name this div however you want, but for clarity’s sake, I’m simply going to call it ‘wrapping', the preset code I’m giving you tells your theme to float it on the left side, wrapping the text around it on the right and the ‘padding-right’ tells it to create some spacing between the image and the text. Be sure not to forget any semi-colons or braces!
Step 3. Time for the other half of the code. Do another search, this time for {body}. This bit of code will look a little messier, but no fretting needed! You’re going to directly envelop/surround this {body} element with tags that will tell it to follow the earlier styling we wrote up. {body} may be surrounded with all types of other things, but none of that matters. Follow my lead:
Step 4 (optional). If you’re a roleplayer/writer like me, you’ll likely use icons in answers to asks as well, so we should cover that as well. Do a search for {answer} and do the exact same thing there as you did with {body} in the previous step 3. The bit of code should look similar to this:
Step 5 (optional). What if you want your blockquotes to have the same effect, but with the icon on the right-hand side, similar to what I have here? Very simple. Do a search for blockquote img { Did it find anything? If not, simply look for blockquote { instead and simply copy and paste the following code above it:
And that’s it! As always, I hope this was helpful! Remember that my askbox is always available to anyone who may run into any problems, never hesitate to leave me an ask or IM if you’re struggling, I’m always here to help. On which note, if you're experiencing a lot of trouble with this or are unable to get through these steps— I'm more than willing to do this for you (I'd love to help you, so don't be shy), it only takes me a minute or two at most. If you'd like the help, free to upload your entire theme's coding to Pastebin and send it my way and I'll send it back with the code a moment later. No chit-chat needed if you're shy, simply give me the link and tell me it's for the text-wrapping and that's more than enough! Also, if this was helpful, a reblog is always immensely appreciated— so that other people may also find use for it!
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
The above is what we’ll be working on to achieve. Due to my previous blog’s reboot, the link to my original tutorial on this broke in reblogs, so here is a rewrite; hopefully a little clearer than my initial write-up of this. Anyway, ever wondered if it’s possible to have the text that’d normally sit below your icons, to wrap around it instead? It wasn’t possible before, but it is now. And it’s not as difficult as one might think. This is part one of two, which focuses on coding this into individual posts. It’s the repetitive and time-consuming of the two ways, but it is the one that allows you full control. If you’re interested in coding this into your theme instead, I direct you to part 2.
Step 1. Write your post/reply as usual and place your chosen icon wherever you please.
Step 2. Go into the post’s HTML by navigating to the upper-right hand corner of the post window and clicking on the cartwheel, then select ‘HTML’ under ‘Text Editor’.
Step 3. This new window will look a bit messy, but we’ll be ignoring most of it, and Tumblr makes it all easier for us by color-coding the bit we need. Navigate to the blue/purple and look for <img src= amidst all the code, or do a quick ctrl+f to help you find it, it should be in blue. That entire line is what we’ll be working with, nothing else. Follow it until you reach the > (just before </figure>) and copy and paste the following code in front of it:
style="float: left; padding-right:10px;”
If you did it right, the line should look similar to this (the original bit of the line still in blue and the newly added code in red). You may need to manually delete/rewrite the quotation marks in the above noted line of code if you copy/paste, as a small glitch can happen where they aren’t copied over correctly, which seems to be a common problem around here. So if you notice that the code didn’t work, try it again but rewrite the quotation marks yourself.
Step 4. Fooled you, there is no step 4. However, here’s another important note; once you’ve gone into your post’s HTML, do not go back to the rich text editor. As it will automatically remove the text-wrapping code you just inserted into the post if you do, since this is only supported in the HTML editor. Futhermore, this will sadly only work on your blog/theme, not on your dashboard,
As always, I hope this was helpful! Remember that my askbox is always available to anyone who may run into any problems, never hesitate to leave me an ask or IM if you’re struggling, I’m always here to help. Also, if this was helpful, a reblog is always immensely appreciated— so that other people may also find use for it!
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
Tutorial: Dashboard text-wrapping. Almost a year after originally releasing my text-wrapping for your theme tutorial, I’ve come to bear a New Year’s gift, known as text-wrapping for your Tumblr dashboard. Now, this tutorial is extremely simple due to Stylish’s involvement, but I have to point out that this is something that only you and anyone else who has this set up will see. But that’s really what most of us care about, right? Let’s get down to it. The following steps should be similar, if not the same, across all browsers.
Step 1. Download the extension called ‘Stylish’ and follow the instructions given in each browser to fully install it, a browser reboot may be needed. Chrome (and Opera) users can find their download here (Opera users will need to download/install this first) Firefox users can download it here, while this link should work for Safari users. And if you’re still using Internet Explorer or Edge for Tumblr, let me chuck some legos at you. ;)
Step 2. While on your Tumblr dashboard, navigate to the Stylish extension that should be in the top right-hand corner of your browser. Then click on the three vertical dots in the upper-right corner of the new window that pops up, then select ‘Create New Style’, like so:
Step 3. On the new page that opened in your browser, copy / paste the following line of code into the large box on the right-hand side of the page.
Now to clarify some things here; the top ‘figure’ line is what affects all images in text posts, including those within blockquotes, it also includes my personal styling that you can see at the very top of this post that includes the semi-transparent borders. If you’re uninterested in this styling, then copy / paste the following into the box instead and you’ll have the basic/default styling:
The margins within ‘figure’ can be increased or decreased to whatever you prefer, and to have text-wrapping look ideal, these may actually need to be edited to fit different icon sizes. Now, if you’re interested in having icons within blockquotes be on the opposite (right) side, simply add the lines below beneath the ‘figure’ line. Again, you can change the margins to whatever you like, I simply urge you to not touch ‘margin-top’.
Step 4. Directly under this box you just copied / pasted those lines into, you should see ‘Applies to’, followed by a drop down menu, make sure to select ‘URLs starting with‘, and in the box to its right, you enter the domain of Tumblr (https://www.tumblr.com) before clicking ‘Add’, like so:
Step 5. Now let’s save it. Move to the left-hand side, and at the top, where it asks you to name it, name it however you please. Make sure to check the box underneath it that says ‘Enabled’ and then simply save it. I recommend that you do not touch any of the other settings.
Note: Keep in mind that this effect may not always appear perfectly on the dashboard, it will look a little glitchy if people’s icons are beneath their reply (as text needs to come after an icon for there to be any text to wrap around it) or it can look a little bizarre within blockquotes if people’s replies are extremely short. These are, sadly, not things I can resolve at this time; they are simply... code limitations, of sorts. Regardless...
I hope that this was helpful to at least some of you! Remember that my askbox is always available to any of you, if you get stuck or need more help. So never hesitate! If this was helpful to you, a reblog is always immensely appreciated— merely so that other people may find the use for it as well through your reblog.