Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
An RSS Query
Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:10 pm

Mr Papa said

yes of course, need to turn on the avatar in the widget... we dont use any disc or anything for ul/li elements... that would be your wp theme... you can remove it by adding css to your wp theme...

Fine but each element would have it's associated avatar showing?  I know I can display the avatart using the "A" in your widget Display Order but that's not what I'm looking for.

all widget and template tag styling would go in your wp theme css file...

Ok so I just need to add tagClass { font-size: 1em; }?  Is there a "#" or a "." before?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:14 pm

.spListTag {font-size:1em;}

is what you would want..

Also, instead of using a disc for UL, was wondering if the avatar could be used?  Maybe it's not possible

I guess I dont understand your avatar question then... the avatar of the poster would be displayed...  if you want to replace the disc your wp theme is putting it, just use css to remove...

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:29 pm

Mr Papa said

.spListTag {font-size:1em;}

is what you would want..

Yes!  That was maybe a dumb question but sometimes I need explicite description on how to do it.  If the file I see listTags as a parameter but would have never guessed whre does .spListTag is coming from.

Also, instead of using a disc for UL, was wondering if the avatar could be used?  Maybe it's not possible

I guess I dont understand your avatar question then... the avatar of the poster would be displayed...  if you want to replace the disc your wp theme is putting it, just use css to remove...

In fact currently each post is listed like this :

  • post 1
  • post 2

I was looking to replace the black disc with the avatar of the author of the post.  Removing the disc could be done with CSS then maybe use ATU for display option?  Each time I tried tu use "A" it was showing alone on a line.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:38 pm

so to remove disc, something like

.spRecentPostsWidget li.spListItemTag {list-style-type: none;}

or

.spRecentPostsWidget ul.spListTag {list-style-type: none;}

might take a little work depending on the css used by your wp theme...  but something along those lines...

as to the avatar, just style it to display inline...  I dont know the exact class, but

.spRecentPostsWidget .avatarclass {display: inline;}

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:54 pm

.spRecentPostsWidget .spAvatarTag { display: inline; } did it!

 

I'm still trying to figure out how to remove the disc but I should be good...  then by removing the margin I should be able to achieve what I'm looking for.

 

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 3:57 pm

yes.

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 4:21 pm

Sorry, another dumb one, where or how do I specify the avatar size?  I see the avatarSize parameter but don't know where to change it.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 4:29 pm

are you using the widget or template tag? if former, just change it in the widget options... if latter, pass it as an argument like any other template tag, ie avatarSize=xx where xx is the size you want...

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 4:33 pm

Doh! embarassed It was right there in the widget.  I was not looking at it as I was too much concentrated on playing with the CSS trying to style it the way I want.  Sorry and thanks again for the reply.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 18, 2012 - 4:35 pm

np.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625