TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 27, 2013 10:48:57 GMT -8
Hey guys, quick question: How can I get the green dot, display name and user group on the right side of the avatar? I want the dot and name above the group, as it's showed, but just to the right of the avatar. I've tried several things, but it didn't work. Here's the code I have in the template: <div class="comment-author_info">
<span class="comment-avatar"> $[post.created_by_user.avatar_small] </span>
<span class="comment-author"> {if $[post.created_by.is_online]} <img src="image URL" alt="Online"/> {else} <img src="Image URL" alt="Offline"/> {/if} $[post.created_by.link] </span><br>
<span class="comment-group"> {if $[post.created_by.group]} $[post.created_by.group.stars] {else} $[post.created_by.rank.stars] {/if} </span>
</div>
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 28, 2013 15:33:39 GMT -8
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Aug 28, 2013 15:53:44 GMT -8
I don't tend to handle CSS, but since you tagged me, can you link to a live example?
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 28, 2013 16:00:19 GMT -8
I don't tend to handle CSS, but since you tagged me, can you link to a live example? Well I saw you alot in the themes board, so I figured you're the guy to ask. Anyways, the screenshot was from this thread. All I'm trying to do is get the dot, name and rank moved to the right of the avatar, similar to the micro profile
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 29, 2013 14:35:57 GMT -8
Bump
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 29, 2013 15:05:48 GMT -8
You've got a bit of CSS in your style sheet that's telling it to float to the left.
Removing that should make it show in the proper order.
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 29, 2013 15:32:14 GMT -8
You've got a bit of CSS in your style sheet that's telling it to float to the left. Removing that should make it show in the proper order. Thanks for the reply brian. I just did that, but it didn't move
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 29, 2013 15:37:48 GMT -8
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 29, 2013 15:40:44 GMT -8
Didn't for me
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Aug 31, 2013 10:01:02 GMT -8
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 1, 2013 9:15:58 GMT -8
I dunno what you changed, but it's different from the last time I looked. And Chrome seems to want to render it differently again. Try adding float: left; to the .comment-avatar class.
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Sept 1, 2013 14:51:56 GMT -8
Yay, it worked! Thanks! And, as always, I always have a second issue. How can I get the labels to appear inline with the rest of the line?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 1, 2013 15:49:26 GMT -8
Throw some span.tags span.labels {display:inline-block; float:none;} at it and see if it sticks!
|
|
TheNerd
Junior Member
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
Posts: 262
inherit
195696
0
Jul 14, 2015 4:32:32 GMT -8
TheNerd
"Read" sounds like "Lead". But "Read" also sounds like "Lead" :o
262
June 2013
thenerd
|
Post by TheNerd on Sept 1, 2013 16:37:35 GMT -8
Fantastic. Thanks for all the help guys! You're all awesome
|
|