The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Online Image Over Top of Avatar in forums pt.2

View previous topic View next topic Go down

Solved Online Image Over Top of Avatar in forums pt.2

Post by Scorpi94 on July 28th 2012, 10:43 am

I saw there was a topic like this by DarkDemon, but it's locked and I want to ask if there's some kind of CSS for phpBB3, because the forum I work for is not mine and I don't have access to the forum templates. Thanks in advance! Hello


Last edited by Scorpi94 on July 28th 2012, 1:06 pm; edited 1 time in total

Scorpi94
Forumember

Female Posts : 120
Reputation : 2
Language : Bulgarian, English
Location : Bulgaria

http://the-beatles.bulgarianforum.net

Back to top Go down

Solved Re: Online Image Over Top of Avatar in forums pt.2

Post by ankillien on July 28th 2012, 12:33 pm

Hi,

On phpBB3 the online image is actually set as a background image and a background image can't be on top of an <img> element so I don't think there is a direct way to do this.

May be we can trick it using javascripts Hem

A javascript like this could work...

Code:
$(function(){
$('.online').css('position' , 'relative').append('<img src="http://illiweb.com/fa/prosilver/icon_user_online_en.png" style="position:absolute; top:0px; left: 0px; z-index:999;" />');
});

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Solved Re: Online Image Over Top of Avatar in forums pt.2

Post by Scorpi94 on July 28th 2012, 1:04 pm

Great! It works! I just change left: 0px; to left: 1180px; Wink Thanks a lot!

SOLVED! Hello

Scorpi94
Forumember

Female Posts : 120
Reputation : 2
Language : Bulgarian, English
Location : Bulgaria

http://the-beatles.bulgarianforum.net

Back to top Go down

Solved Re: Online Image Over Top of Avatar in forums pt.2

Post by ankillien on July 28th 2012, 1:08 pm

If you want it to be all the way right then right:0px would be better than left: 1180px.

Topic Solved & Locked

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum