moving this

shadowz au at 11h56
21
Sep
2011
How do i my staff banner to corner?



My forum url ( post ) - http://tommyzserver.forummotion.com/t1-aswdafafsdasdasdasdasds
1 ankillien, on 21/09/2011 at 12h08
Hi,

You can do it by adding the following code in Admin CP > Display > Colors > CSS

Code:
.user {
position: relative;
}
.user-basic-info img {
position: absolute;
top: 0px; right: 0px;
}


If it affects other images, like online image, use the following code..

Code:
.user {
position: relative;
}
.user-basic-info img:first-child {
position: absolute;
top: 0px; right: 0px;
}
2 shadowz au, on 21/09/2011 at 12h11
It move my avatar as well
3 ankillien, on 21/09/2011 at 16h41
Ok, please remove those changes.

Now you need to use this CSS code...

Code:
.user {
position: relative;
}
.rankImg {
position: absolute;
top: 0px; right: 0px;
}


and make changes in viewtopic_body template.
Find this code in the viewtopic_body template...

Code:
{postrow.displayed.RANK_IMAGE}


replace it with this code...

Code:
<span class="rankImg">{postrow.displayed.RANK_IMAGE}</span>


Save it and publish it. The code should work now Smile
4 shadowz au, on 22/09/2011 at 07h25
Thanks and how can i move it on top of the border? cause i got curves
5 ankillien, on 22/09/2011 at 15h12
This code would do the trick...

Code:
.user {
overflow: visible !important;
}
.rankImg img {
margin-top: -4px;
margin-right: -4px;
}


It will affect the border of the use box, I guess.
6 shadowz au, on 22/09/2011 at 16h24
Thanks..

Code:
.user {
position: relative;
overflow: visible !important;
}
.rankImg img {
position: absolute;
top: 0px; right: 0px;
margin-top: -4px;
margin-right: -4px;
}

I use this.
7 ankillien, on 22/09/2011 at 16h49
Glad I could help Very Happy

Topic Solved
Similar topics
Hi I was wondering if it is possible to move a widget around to specific areas. I have activated the recent topic widget but I would like to have it in the red surrounding border and I would like to align it with the first category on my forum which is
can someone add this image to the tip of this image
Hi, I want to know if it would ever be possible to move my forum on here to a different place. Is there anyway the SQL database can be accessed. I'm not planning to move to but I would like to have the option and security of knowing that I could if I
Replies 1 to 7 on 7 for "moving this"
See also
more_less
Informations

7 Replies For the topic :
"moving this"

This topic has been viewed 589 times.

Last message :
21/09/2011 at 11h56 by "shadowz au"