Ning Developer Network

does anyone know a way to hide the "created by" avatar for groups? I've tried targeting just that avatar but haven't been able to do it without hiding all or some of the other avatars on my site. any suggestions?
thanks!

Tags: avatar, by, created, groups

Share

Reply to This

Replies to This Discussion

Paste this code into your Analytics textbox which you'll find by clicking Manage and then clicking the Analytics icon:


<script type="text/javascript">

x$(document).ready(function() {

// Remove Created By icon on Group Show page:
x$("div.xg_widget_groups_group_show").find("div.xg_headline").find("div.ib").remove();
x$("div.xg_widget_groups_group_show").find("div.xg_headline").find("div.tb").removeAttr("class");

});
</script>


The first line ( after the comment: // Remove Created By icon on Group Show page: ) removes the icon. The second line moves the rest of the content to the left, but changes the look a bit. If you don't like the look, remove the second line.

Reply to This

Somehow this code is not working on my network, but I have some code ( for statistics) in the Analytics already. What is the problem?

Reply to This

It looks amazing!!! THank you SO much!!

Reply to This

I tried this code but it dosent seems to work

Reply to This

KAT said:
I tried this code but it dosent seems to work

Hi kat. try pasting this in your advance appearance..

.xg_widget_groups_group_show .ib { display: none; }
.xg_widget_groups_group_show .tb { margin-left: 0px; }

Reply to This

Thanks Kat - This code worked for me. I tried the first, it doesn't seem to work anymore. Any idea on how to get rid of the phrase, "Created By xxxx"?

Reply to This

Try putting this code inside the script tag instead of what I provided above:

x$(document).ready(function(){
x$(".xg_widget_groups_group_show .tb").find("a.nolink").parent().hide();
});



Tami said:
Thanks Kat - This code worked for me. I tried the first, it doesn't seem to work anymore. Any idea on how to get rid of the phrase, "Created By xxxx"?

Reply to This

Just tried that...the avatar came back, and "created by xxx" is still showing...

Reply to This

Hi Leese,

The following CSS code will hide the group creator avatar and the "created by" text, so that only the group title appears at the top of group pages:

.xg_widget_groups_group_show .xg_headline .ib, .xg_widget_groups_group_show .xg_headline .navigation.byline {
display: none;
}
.xg_widget_groups_group_show .xg_headline-img .tb {
margin-left:0;
}

Thanks,
Brad

Reply to This

Thank you Brad - your code did the trick!!

Reply to This

I could not get it to work. Where do you place the code?

B-rad said:
Hi Leese,

The following CSS code will hide the group creator avatar and the "created by" text, so that only the group title appears at the top of group pages:

.xg_widget_groups_group_show .xg_headline .ib, .xg_widget_groups_group_show .xg_headline .navigation.byline {
display: none;
}
.xg_widget_groups_group_show .xg_headline-img .tb {
margin-left:0;
}

Thanks,
Brad

Reply to This

Hey Jenay,

As with all advanced CSS hacks, you'll want to place the code in the Manage >> Appearances >> Advanced box.

Reply to This

Reply to This

RSS

© 2009   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service