JenSocial: Social Network Directory / Social Web Directory

Social Network Directory & Network Creator Help - Ning, Spruz, SocialGO, etc...

  1. VIP Ning Club

    Join the Ning VIP Club!
  2. About VIP

    ~ Best NING TIPS, available online, special support for Ning Network Creators. TESTIMONIALS...
    ~ Insert Content or Google Ads within blogs/forums, or most anywhere. Ning-ready sliders/accordions, tabbed content, special shadow techniques, CSS tricks, and much more!
    ~ Only $34.95 for 6 months of support and all VIP Tips - - a great deal!

    Join Now!
  3. Directory

  4. Network HELP

  5. Free Ning Tips

This is a simple block of CSS that adds an extra flare of elegance to your Home Page Listings for Latest Activity, Blogs, Forums, Notes and Text Boxes when hovered.

The CSS will add an image background when someone hovers a listing or entry. You can replace the image below with your chosen image. You can also change the code from background:url to background-color:#e6e6e6, and change to color of your choice.

Edit attached code to suit your preferences, and add to Advanced CSS via:
My Network/Settings/Appearance
/** Add Hover Background Effect for Latest Activity, Blogs, Forums, Notes and Text Boxes - HOME PAGE **/

/* Forum Hover */
.xg_widget_main .module_forum div.vcard:hover {background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0 transparent;}


/* Latest Activity Hover */
.xg_widget_main .feed-story:hover {background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0!important;}


/* Blog Hover */
.xg_widget_main .module_blog .blogpost:hover {background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0 transparent!important;}


/* Notes Hover */
.xg_widget_main .module_notes .note:hover {background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0 transparent;}


/* Text Boxes Hover */
.xg_widget_main .module_text:hover {background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0 transparent;}

/** End Hover Effect **/

It appears that the Discussion boxes are messing up the image url. Use the attached file for code.

Enjoy!
Jen

Tags: blog, blog hover, forum, forum hover, hover, hover blog, hover effect for forum, hover effect for latest activity, hover forum, hover latest activity, More…hover notes, image background, latest activity, notes hover, special effect

Views: 355

Attachments:

Replies to This Discussion

thank you for your invitation.

Hi Jen...This is so neat...

How did you create the image color or where did you find them, i'm using yours currently?

I actually grabbed the image URL for the alternating rows from my Leaderboard module on home page. This is built-in. I think it's just fine if you use that image. Or, you can use your own image, or just a color.

Best,

Jen

This code has been updated for Forums, and added Notes and Text Box hover effect.

The Hover effect for text box isn't working on my sites. I copied the code exactly.

 

How do you get the icons red as shown Below

Lex,

Far as I know, in old Editor the icon color is under Settings/Appearance/All Options/Icons

New Design Studio:

Settings/Appearance/Customize/Link & Buttons/Icons

 

On why the text box hover isn't working, don't know. If you have it installed, I'll take a look when I can.

 

Best,

Jen

Ok  Jen I got the icons fixed. Just take a look and see what I need to fix for the text box hover.

 

I just realized that I never did this for my Groups list. Have you had a chance to play with that module yet?

I can get the entire list to work but I'm having a rough go to hover only on individual groups. 

Not sure why I didn't offer in the tip. I think because the only way to hover highlight entire area is using xg_lightborder, and I wasn't thrilled with that.

Give this a try:

/* Groups Hover */
.xg_widget_main .module_groups .xg_lightborder:hover {
background:url('http://static.ning.com/socialnetworkmain/widgets/index/gfx/table/bg_alt.png') repeat scroll 0 0 transparent;
}

 

Best,

Jen

Works perfect. I didn't even think about lightborder. I usually try to figure it out myself so I don't have to bug ya....but always learning :)

Thanks so much.

I also use the Pushpin code for posts in the Latest Activity and it conflicts with the hover (just on member status posts). 

Just out of curiosity, do you think we could add the pushpin image with a content code "before"?

Something like this:

/* Pushpin Before Content */

#xg_themebody .feed-story-status:before

{background:url("http://api.ning.com/files/LejAFeVnJ1JrMPFmkhEofR*PqsdAwjoiwIU8Vmjjo7dmRd1VmU4J3*wgNPT1sEPIH0WIKW8VOS2HkKJ5QryiCczj*w5ndinS/Bullhorn5.png?width=40") no-repeat!important; margin-top:10px!important; padding-left:60px;}

I don't know about this one. What's the conflict? do you mean the pushpin disappears on hover? If yes, that's what I would expect it to do.

Best,

Jen

RSS

JenSocial Virtual Shopping Mall & MarketPlace

Speak Your Mind!

VIP Ning Club:
Jen’s always cooking up new & exciting Ning Tips!

Discover the best Ning Support you’ll find anywhere! Just ask our VIP Members! ;-)

Testimonials

JOIN NOW!

Join the JenSocial Premium Ning Tips Club
All the work/tips created on JenSocial.com are provided free, but your donations allow me to continue offering Free Support, Tips, News, and free Directory Listings. Any amount is greatly appreciated.

Your donation allows me to continue offering Free Support, Social Networking Tips, News, and free Directory Listings for Social Networks, in the largest Social
Welcome to JenSocial Network Directory: Social Network Directory and Network Creator Hub for all Social Networking platforms:
Ning, Spruz, SocialGO, Grou.ps, JomSocial, BuddyPress, WackWall, etc...

Formerly the Ning Directory

Add Your Social Network, Find, Preview and Join, all kinds of great Social Networks (Social Communities) - - from Art to Pets!

 

 

© 2012   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service