jQueryHelp

Help with jQuery Mods and Hacks for your Ning Network!

Over on Jen Social we have been wondering how we could hide the Supporters and Latest Activity lines in the group details box

Conclusion was to come and ask TJ on jQueryHelp!

Obviously you can hide the pad5 group_details class but that removes everything!

Jen wrote

There is not a unique CSS selector to remove this text. If you remove Category, Members, Latest Activity - - it removes the Group description. At least, that was my experience, and I can usually capture anything in CSS. It did appear just those fields were contained within the p tag, but they are not. I could have made a mistake, but don't think so. And, we could probably remove the titles of the 3 with jQuery, by literally searching for the words: Category, Members, etc...but I don't see a way to remove the content after the title. TJ may know a way.

Views: 108

Reply to This

Replies to This Discussion

Hi Andrew, welcome to our site!

So I took a look at one of my groups here, YouTubeStars.  I see this to the right of the group photo/avatar/icon:

 

Find a cool YouTube video? Talk about it it here and upload it to our Videos!

Website: http://www.YouTubeStars.com
Location: Your screen!
Members: 16
Latest Activity: Dec 25, 2012

 

Are you wanting to remove all of this - the description, Website, Location, Members count and Latest Activity date - or only some of these?  Did you want this for all groups or just certain groups?

Thanks and best wishes!

"TJ"

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

Hiya and thanks for the welcome!

Ok to be clear!

We want to be able to keep everything except for the Members Count and Latest Activity

If you look at this group on our site

http://safeworldcommunity.net/group/sawera

We have managed to make the Group Information interesting!

Just we would like to lose the

Supporters: 10
Latest Activity: Feb 2

This can't be done by css as far as we can see

thx so much

A

A

Hi Andrew,

Please try this CSS in your Appearance | Advanced box and let me know how it works for you.  I tried it here and as you can see in any group, it seems to be working.

 

/* Hide first paragraph of Group Details - Website, Location, Member count, Last Activity */

/* By TJ @ jQueryHelp from jQueryHelp.ning.com on 2/28/13 */

div.group_details > p:nth-child(2) { display: none; }

Best wishes!

"TJ"

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

No wonder I was recommended to come here!

You are a genius!
Will go tell Jen Social

Best


A



TJ @ jQueryHelp said:

Hi Andrew,

Please try this CSS in your Appearance | Advanced box and let me know how it works for you.  I tried it here and as you can see in any group, it seems to be working.

 

/* Hide first paragraph of Group Details - Website, Location, Member count, Last Activity */

/* By TJ @ jQueryHelp from jQueryHelp.ning.com on 2/28/13 */

div.group_details > p:nth-child(2) { display: none; }

Best wishes!

"TJ"

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

I'm glad this worked for you!

Jen is the real genius when it comes to all things CSS and all things Ning for that matter.  I am not up to her level on many things but I do okay sometimes.

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

You too make a good team. Romance in the air?

A

TJ @ jQueryHelp said:

I'm glad this worked for you!

Jen is the real genius when it comes to all things CSS and all things Ning for that matter.  I am not up to her level on many things but I do okay sometimes.

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

We do make an excellent team and have done many projects together.  I always enjoy working with Jen.  Our skills are complimentary, and as a team, we are unbeatable!

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

Our organisation used to be on Ning in the good old bad old days - 4 years ago. Got to know Jen then. It was amazing to come back to Ning a few months ago and find she was still going strong if not even better!
Were you were around then too?

A

TJ @ jQueryHelp said:

We do make an excellent team and have done many projects together.  I always enjoy working with Jen.  Our skills are complimentary, and as a team, we are unbeatable!

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

I was on Ning in 2008 under another name and I had a Ning site different from this one, as well as being a member of a few other Ning sites.  I started getting into the PHP code that runs Ning sites just about at the time that they shut off our ability to modify the PHP code.  So I switched to jQuery in late 2008 and have been doing projects large and small, for large fees and for free, ever since.

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

We went under the name Women for a Change in those days. Ended up with this www.asafeworldforwomen.org. Our Ning Community is just for our close supporters!
I mainly work in Joomla these days and Ning is kinda limiting in comparison!
:)

One thing to note about the CSS I gave a solution to this Request -

I use nth-child which is a CSS3 selector.  Not all browsers support CSS3 selectors.  In particular, older versions of IE, versions Before 9.0, do not support this code.

See here for more browser support info: http://caniuse.com/#search=nth-child

"TJ"

'TJ' is the Owner of jQueryHelp.
Please Visit http://YouTubeStars.com - Thanks!

Reply to Discussion

RSS

Notifications

Temporarily Offline

Friends of Friends

© 2017   Created by TJ @ jQueryHelp.   Powered by

Badges  |  Report an Issue  |  Terms of Service

EOP
EOP2