Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

What I am going to show you is extremely simple and will create a consistant feel to your site by visitors. What we will achieve is a 1- pixel shift or "bump down" affect on all links. Links are inline elements, margin-top won't work. We don't want to use padding either, because that would change the size of the box itself which might leading to unwanted shifting of other elements around it as well, which is undesirable. The perfect fit is position: relative, which allows us to bump around elements from their original static positioning when visitors hover over a link.

For this example, I will show you how to how to apply this 1-pixel-shift effect to just TAB MENUS, LINKS INSIDE PARAGRAPHS and any <SPAN> Link.

Here is a Close Up Capture of the 1 Pixel Shift Effect on Links:

 

Example of Shift Effect on Tab Titles:

Example of Effect on Paragraph and Text Box Links:

 

Simply add this to your Advanced CSS in Dashboard

LI.tabContainerSection-tab:hover,p a:hover, span a:hover{
position: relative;
top: 1px;
}

 

If you would rather make the link bump to left or right (or diagonally) instead of vertically, change the

top: 1px;    to something like    top: 1px; left: 1px;

You may also like the link to change color on hover. In this case also add
something like this to the mix:
color: blue;



NOTE: And as Chris Coyier points out If you have any links on your site that are absolutely positioned, having the active state change to relative position will (probably) make them go flying away and render them unclickable. You can fix this on a case-by-case basis by making the active state of those links retain absolute positioning, and even make their top value one higher (or bottom value one lower) [reference]

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Pretty cool tip, thanks!

  • Somehow I already have this and don't know how I did it.  How's that for dumb luck *lol*  

    • NC for Hire

      i think I may have made a post similar in history, but couldn't track it down.. nice!

  • NC for Hire

    3236820?profile=original

  • This reply was deleted.
This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

kostasgr liked Alex - Rosas † Negras's discussion I managed to add group video calling, if anyone is interested I will post the codes
yesterday
Jords updated their profile
yesterday
Steve C replied to ⚡JFarrow⌁'s discussion
What is going on with Ning? What Do We have to Look Forward To?
"Ning is based in California but operations are in Kyiv, Ukraine. Due to the war, operations may…"
Sunday
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"⚡JFarrow⌁  
I'm working on the stories and I don't have time to work on the video call you just…"
Jun 28
Alex - Rosas † Negras replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"if you want I'll give you the codes privately and we'll see if the two of us can make it perfect"
Jun 27
Eva and ⚡JFarrow⌁ are now friends
NC for Hire
Jun 25
⚡JFarrow⌁ replied to Eva's discussion
For three days now, my networks, Ning 2.0 and Ning 3.0, are incorrectly visible
"Ug... thats not right..  ill send you my phone number in messages and we'll talk it over."
Jun 24
Eva replied to Eva's discussion
Help Help Help
" I just started a test network on Ning. I'm having the same problems there too! No photos, in…"
Jun 21
Eva posted a discussion
Jun 21
Eva posted a discussion
For three days now, my two networks, Ning 2.0 and Ning 3.0, have been displayed incorrectly, they…
Jun 21
⚡JFarrow⌁ replied to Alex - Rosas † Negras's discussion
I managed to add group video calling, if anyone is interested I will post the codes
"looks interesting"
Jun 20
⚡JFarrow⌁ updated their profile photo
Jun 16
More…

Meanwhile, you can check our social media channels