inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Sept 13, 2015 12:12:49 GMT -8
Forum URL: psychic-psyghtings.proboards.comI have an image much like the new checkmark here on Support and am using it on my forum to show people 'authenticated' staff persons. I am having trouble, though, repositioning the image so it's next to my display name in my mini profile (much like David Clark's below): I am using his as an example because I have the admin banner on my mini profile (and my staff's mini profile) like he does. Right now, mine is below: I think part of my problem may be that I put the HTML for it into my template and not in the Custom Mini Profile Creator plugin, like I assume is the case for David above, am I correct? I was afraid that if I put it into the HTML area of the CMPC Plugin that it would override all of the HTML of my custom MP since I have it in the MP Template in the theme and not the Plugin itself. Or am I just over thinking this? Probably am Thanks for your help!
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on Sept 13, 2015 12:16:52 GMT -8
It's moving to the next line down because you have the image enclosed within a <div>, which is a block-level element by default. Block elements occupy their own lines. .staff-diamond { display: inline-block; } This CSS will turn the div into an inline-block element, so it can reside next to your display name
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Sept 13, 2015 12:21:18 GMT -8
As an additional note the image we use is absolute positioned inside the mini-profile which is relative positioned, exactly the same as how the admin banner is being positioned.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Sept 13, 2015 12:28:53 GMT -8
It's moving to the next line down because you have the image enclosed within a <div>, which is a block-level element by default. Block elements occupy their own lines. .staff-diamond { display: inline-block; } This CSS will turn the div into an inline-block element, so it can reside next to your display name As an additional note the image we use is absolute positioned inside the mini-profile which is relative positioned, exactly the same as how the admin banner is being positioned. Thank you both! I got it to work now!
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 13, 2015 13:50:59 GMT -8
I guessed at absolute positioning inside a relative parent container, 'cause that's exactly how I did the zodiac symbol on my own forum, in the top right corner You're probably better off using the absolute positioning technique, 'cause the size of the parent container is unlikely to change width, plus you can position elements literally anywhere you like within that container, even referenced to the bottom if you wanted to put anything in the bottom corners.
|
|