ah yes, sorry should have said the widget is in the template tags plugin… Brandon has all the details in his post…
Support Forum
Nice! I have to go but can’t wait to get back home and try this…
Thanks a bunch!
Brandon C said
All the option are shown at the top of the template-tags/library/sp-RecentPosts-tag.php file.
Took a look there but I just don’t know how to use those. I wanted to lower the font size so I guess I need to look at tagClass but where do I define the styling?
Also, instead of using a disc for UL, was wondering if the avatar could be used? Maybe it’s not possible.
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… since its not always on a forum page, our css is not loaded… all widget and template tag styling would go in your wp theme css file…
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?
.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…
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.
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;}
.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!
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.
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…
Doh!
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.