hover info

anonymous asked:

hello, moosey I hate to be a bother but do you know how people manage to get their post info to hover when you move over a symbol? Like when it tells you: who you reblogged the post from, if they'd like to reblog it, the date and time they posted it, etc? Thank you very much because i've been looking everywhere and can never find it ; W ;

hello there anon - 

settle in and get comfy - it’s tutorial time… XD

okay, what you’re actually using for the hover information is actually something called a ‘tooltip’.  where you can have a link as an icon or a symbol, a letter or even an image, and the information is shown on hover - it’s the exact same code people use for hoverlinks.  most people use the tooltips by malihu and that’s what i’ll be using here… 

installing the code

the jquery code for tooltips comes from the demo by malihu ( definitely check out their page! ).

1. up in the top section of your code, you will need to paste three things - make sure these go into your code ABOVE <style type=“text/css”>

<script src=“http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js”></script>

[ the minimum jquery required to run this script from google ]

<script src=“http://static.tumblr.com/uopakca/GVcnvdwbq/jquery.style-my-tooltips.js”></script>

[ the ‘style my tooltips’ js file from malihu ( which i’ve uploaded for you, so you don’t need to do it again… you can always upload your own version into the theme assets area if you like! ]


[ the script for actually calling the tooltips from malihu ]

change the delay time and the fade speed to suit your preferences… ( in milliseconds O_O )  the original code has been changed from “[title]“ to “a[title]” so that it works on links and not just text…

2. in the next section of your code ( the css bit which is mostly orange and yellow ) - between <style type=“text/css”> and </style></head> paste the next bit of code - this is how your hover information will be styled ( i’ve added some extra to help explain the styling XD )

#s-m-t-tooltip {
  border-radius: 0px; /* you can add in a border radius here for curved corners if you like */
  padding:4px; /* space around the text */
  margin:5px 10px 5px 0px; /* positioning of your hover info in relation to the link */
  color:#fff; /* text color */
  border:1px solid #fff; /* optional border and border color */
  font-family: ‘Fjalla One’, sans-serif; /* i’ve added a custom font in here but you can remove this line if you don’t use custom fonts */
  font-size:10px; /* font size of your hover info */
  letter-spacing:2px; /* optional letter spacing */
  background:#000; /* change the background color of your hover info */

3. now you will need to add the tooltips to your post information. ( this is the slightly tricky part, depending on your theme! ) - post information will be coded into both your css and html, and theme makers often use a wide variety of things to refer to it - things like ‘info’ or ‘date’ or ‘perma’ - depending on how they design their code… 

basically, what you’re looking for in your theme is the information down at the bottom of the html with the code for date/via/source/notes etc.

i’ll use a sample theme to help… if i scroll down to that section in my theme you can see it’s under the css section ‘info’ - 

this is my ‘info’ css;

and this is what my post info/notes/tags look like currently

to begin, we’re going to turn each of those links into a symbol and add in the information for the tooltip to the right place…  anything that appears in the ‘title’ section of a link will be the hover information on your tooltip.  

please see below - each section of info has been moved into the ‘title’ portion of the link and the link itself has been replaced with a symbol.  ( there’s no ‘reblog’ option in this theme, but you can always add one in to yours! )

this is what my info section looks like now with the hover tooltip for each symbol;

you can move your tags into another section, below the post info or elsewhere - i wouldn’t recommend moving your tags into a tooltip though, as you can only show what tags are there, but you aren’t able to click on them…

this is with my tags moved out of the ‘info’ div ( just below ) - then some fancy schmancy stuffs like adding a background and a border to the info section in the css ( as well as making the font a little bigger for my symbols ).  you could also add a css section to style your tags if you like!

and voila!

if you find this helpful, a like or reblog is always appreciated! :3

                                                                      ♡ to plot
                                                                  ⟳ for a starter
                                                                 ✚ for a new pal

A Guide to CSS transform property

So this is one of my favorite things to use.  The transform property allows you…well transform an element using its rotate, translate, skew, scale, and perspective values. 

Let’s start with something simple: rotating a div.

So we have a square div. Mine looks like this:

To rotate it, all we need to do is add the transform property with the rotate value. We’ll rotate it 45 degrees for this demo 

transform: rotate(45deg);

here’s the before and after:

More examples for the other values under the cut!

Keep reading

i love how consistent tumblr’s code around permissions is, like, “if you have someone blocked, you can’t see anything on their blog… maybe, sometimes. and if someone has you blocked, you can’t see anything on their blog… maybe, except when you can. and the little blog info hover panel won’t load… maybe, except sometimes it does.“ cool, great policy, very clear

anonymous asked:

Hey there, I have been trying to find how to do the hover descriptions on contained themes that look kind of like an updates tab and I was wondering if maybe you knew how? Thank you, even if you don't still thank you because you do so much for the rp community and you're just amazing<3

hello there nonny,

settle in, it’s tutorial time!

how to make a hover description or updates tab


Keep reading

aroacepearl  asked:

Hey! I'm building a theme from one of your bases up, and I was wondering: you know how on some themes on the edit page you can customize through switches/buttons and stuff? Is it possible to MAKE that happen on a custom theme?

hello there friend -
hopefully posting this is okay with you because – sit back, open your theme and enjoy because it’s – **insert fanfare here**TUTORIAL TIME!!!

How to add ‘if’ switches into your themes for customisation - blocks, variables and meta customisation

okay, so this is going to run through a couple of examples so hopefully you can see how they work!  you may have encountered ‘switches’ on your themes which can be turned on or turned off to activate or deactivate certain features.  they usually look a bit like this –

now, if you’re making a custom theme and you’d like to include some additional options for customisation, then you need to use blocks.  these are literally little chunks of code that are enclosed in open and close block tags.  you will have also seen something similar in your theme html…

e.g. {block:posts}
lots of post html in here

so lets say, for example, we are designing links for a theme and we want to make it easy for our users to show/hide a submit link and show/hide and archive link, our links html could look something like this.

<a href=“/”>index</a>
<a href=“/ask”>ask</a>
<a href=“/submit”>submit</a>
<a href=“/link1”>link1</a>
<a href=“/link2”>link2</a>
<a href=“/link3”>link3</a>
<a href=“/archive”>archive</a>

this will show the submit and the archive links by default.  if we want to make them optional then we can add in ‘if’ blocks…

<a href=“/”>index</a>
<a href=“/ask”>ask</a>
{block:ifshowsubmit}<a href=“/submit”>submit</a>{/block:ifshowsubmit}
<a href=“/link1”>link1</a>
<a href=“/link2”>link2</a>
<a href=“/link3”>link3</a>
{block:ifshowarchive}<a href=“/archive”>archive</a>{/block:ifshowarchive}

note that each block must be opened and then closed.  what this means is that if the switch is ‘on’ then the block will show.  if the switch is ‘off’ then the block will not show.

so you have added in the blocks, now you need to add in the actual switches!  anything that is available on the basic editor as an option, is usually up at the top of your theme and will be one of the ‘meta name’ options ( you use these for choosing colours etc. in the basic theme editor )  to add in switches for your ‘if’ blocks, you need to give the switch the same name as your block… e.g.

<meta name=“if:showsubmit” content=“0”/>
<meta name=“if:showarchive” content=“0”/>

the ‘content=“0″’ means that when the theme is installed, the switch will default to ‘off’.  you can change this to ‘content=“1″’ to have the switch default to ‘on’ on installation.

if you now save and go into your basic editor, you will see that your switches are available for use.

and here are my links on my theme, with both switches turned ‘off’ -

if i now turn them both to the ‘on’ position, the information in my blocks will activate and my links will show!

but, there’s more… as well as including blocks in your html, you can also include them in your css section to apply an ‘on/off’ feature to certain styles, and this is often used for things like show/hide captions, hover/permanent post info, greyscale/colour images, etc.  you just have to wrap the css section in a block which will be applied when switched on, and removed when switched off.

if you would like to know more about blocks and variables, i’d recommend taking a look at these additional ( awesome ) resources - 

tutorial by ettudis
tutorial by lmthemes
tutorial by help-with-coding 
build themes - meta customisation
build themes - blocks and variables

hope this helps ( and if it was useful, a like or reblog is always appreciated! ♥ )

Total RP 3 (Best RP Add On?)

So, let’s talk about Total RP3. What is it, you ask? Well, just about one of the best roleplay add ons I’ve ever come to find. I’ll use my own profile to show you all exactly what this thing can do. 

This right here is what people will see when they click on you. They’ll get your name, an option to look at your character sheet, and will also find small little ‘at a glance’ info bubbles that you may or may not have added. While TRP3 is compatible with all add ons, only TRP3 users will see these info bubbles. Hovering over said bubbles will allow them to see anything extra you might have added.

Below is a glimpse at my profile. As you can see over to the left, there are tabs for any companion profiles (for both mounts and pets) as well as a directory. I’ll show you that crazy stuff in just a second.

Doesn’t look too crazy, but check out all the awesome stuff you can add in! Got a lot to say about your character? Just little bits of info for yourself or others? TRP3 will probably let you add it in.

Now to talk about all of TRP3′s extra bits. The first being a toolbar you can display or hide whenever you so please. It has a button to hide your helm, cloak, to set your rp status, whether or not you’re in-character, or even change the language you’re using!

Take a look at your map. Down at the bottom left there is an option to scan. With this you can see all other TRP3 users in the area.


Now we come back to the directory. Ever wanted to pull up someone’s profile while they’re offline? Had a character name in mind or even characters from a specific guild? If you’ve seen them before, you can find them in the directory! (Using @wtfarraki ‘s Anzeti for this.)

TRP3 is a really cool add on. Especially for those who like to rp in-game. You can change your icon, color of your name, your class and race, anything. And I’m still leaving out things. If you like WoW rp, I suggest you look into Total RP 3.