Ning Developer Docs

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!

Views: 15

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.
Somehow this code is not working on my network, but I have some code ( for statistics) in the Analytics already. What is the problem?
It looks amazing!!! THank you SO much!!
I tried this code but it dosent seems to work
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; }
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"?
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"?
Just tried that...the avatar came back, and "created by xxx" is still showing...
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
Thank you Brad - your code did the trick!!
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
Hey Jenay,

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

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service