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.
  • Hey there. I love it! Where in the code do I put the color to change when hover? 

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

Pam Givens replied to Pam Givens's discussion
Landing Page
"What I meant to say, if I could spell:
I've attempted to create a landing page and have't had much…"
Dec 12
Pam Givens posted a discussion
I've attempted to crate a landing page and have't had much success.  I'd rather have one on my…
Dec 12
Luxury Residences updated their profile
Dec 6
Asumi Carol updated their profile
Dec 2
Shada Hotel updated their profile
Nov 29
Howard Sands replied to Mark Thorpe's discussion
NING is broken?
"I am not a techie, I don't understand the first thing about it, but have a HUGE problem with Ning…"
Nov 27
Howard Sands replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"I hope this helps
Ning  https://www.ning.com/contact-us/
1-855-233-6436 (USA/Canada Toll Free)…"
Nov 27
Donna MacShoe posted a discussion
I am completely locked out of my NING site that I have had for 20 years.  ladiesofthehat.org.  When…
Nov 27
Joven left a comment on Ning Networks en español
"Zzz..."
Nov 26
Ron updated their profile
Nov 25
Ron updated their profile photo
Nov 24
Mark Thorpe posted a discussion
I've run networks based on this platform in the past and never have I seen it in such dissarray as…
Nov 20
More…

Meanwhile, you can check our social media channels