PDA

View Full Version : I want to remove avatars from posts that show in widgets.


SpaceGhost2K
07-31-2011, 04:26 AM
I run www.kinecticon.com. When someone (usually me) makes a post in a forum that is reflected in a widget on the front page, I don't want the widget to show their avatar - just the content of the post and the author is fine. Right now, I'm the main generator of content. I don't have an avatar set up yet, because I don't want the front page smothered in posts with my own avatar.

I found the widget.css template and the "useravatar" function, but I don't know where the part of the program is that calls that, or how to make it not call it. (HTML Noob, sry).

Can someone walk me through it?

setishock
07-31-2011, 06:22 AM
Put this in additional.css:

.widget_post_useravatar img {
display: none;
width: {vb:stylevar sidebar_contentavatar_width};
height: auto;
}

Display: none tells VB not to show this object.

SpaceGhost2K
08-05-2011, 10:02 PM
Awesome, I'll give it a shot. Thanks!

**EDIT** Yes! You are my hero!

thunderclap82
08-07-2011, 06:11 PM
Not to hijack, but how do you get rid of the space that is left in the widget?

MScotti
10-01-2011, 01:01 PM
Not to hijack, but how do you get rid of the space that is left in the widget?

and if i want show a first image in article?
thank you so much. :up:

setishock
10-01-2011, 01:52 PM
Not to hijack, but how do you get rid of the space that is left in the widget?


.widget_post_useravatar img {
display: none;
width: {vb:stylevar sidebar_contentavatar_width};
height: auto;
}

Try editing that to read

.widget_post_useravatar img {
display: none;
width: 0 !important;
height: 0 !important;
}

@MScotti
Haven't got that deep in to so have no idea. Sorry...

MScotti
10-02-2011, 05:03 PM
Try editing that to read

.widget_post_useravatar img {
display: none;
width: 0 !important;
height: 0 !important;
}

Nothing changes, space remains on the left.


@MScotti
Haven't got that deep in to so have no idea. Sorry...

thanks anyway :)

MScotti
10-10-2011, 07:47 PM
Not to hijack, but how do you get rid of the space that is left in the widget?

I also need this. :up: