The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Member online image being hidden by Post background

2 posters

Go down

Member online image being hidden by Post background Empty Member online image being hidden by Post background

Post by PT-Desu October 28th 2012, 2:55 pm

Hi

Is there a way to perhaps add the "user currently online" image into the CSS and make it "!important" or just make the post background a secondary image ?
Because since i made a specific background for the post, the background stays on top of the "user currently online" image and hides it.
I'm talking about the notification that shows up on the users post on the top left corner saying "online" ( or pretty much anything else , depends on your image )

This is my current .post code

Code:

.post {
   margin-bottom: 4px;
   background-repeat: no-repeat;
   background-position: 100% 0;
        background-image:url('http://i38.servimg.com/u/f38/16/98/10/28/postme10.png');
        background-color: #111111;
        border: 1px solid #393939;
}

PT-Desu
PT-Desu
Forumember

Posts : 54
Reputation : 1
Language : Portuguese

Back to top Go down

Member online image being hidden by Post background Empty Re: Member online image being hidden by Post background

Post by Nera. October 30th 2012, 9:00 am

Hi,

You mean to display both post background and an online image in posts? If so yes.

More::

http://www.css3.info/preview/multiple-backgrounds/

For a phpBB3 forum it would go like this::

Code:
.post.online {
    background: url("POST BG IMAGE LINK HERE") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9 !important;
}
.post {
    background: url("POST BG IMAGE LINK HERE") repeat-y scroll left top #E5F1F9 !important;
}

LP
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Member online image being hidden by Post background Empty Re: Member online image being hidden by Post background

Post by PT-Desu October 31st 2012, 1:34 pm

I can't get both backgrounds to show up at the same time, either one appears or the other does.

Then tried some tweaks of my own to try and make it work but nothing.
PT-Desu
PT-Desu
Forumember

Posts : 54
Reputation : 1
Language : Portuguese

Back to top Go down

Member online image being hidden by Post background Empty Re: Member online image being hidden by Post background

Post by Nera. October 31st 2012, 1:53 pm

See the backgrounds on Fm staff posts? Both gradient and online image are done with multiple backgrounds as I told you there.

It's done the same way like on that link. Post a direct link to the topic you want it for (accesable) so I can take a look?
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Member online image being hidden by Post background Empty Re: Member online image being hidden by Post background

Post by PT-Desu October 31st 2012, 1:58 pm

This might not be worth the trouble though, i also have specific post backgrounds for special users and i'm almost sure this wouldn't work show special users as online.

Using javascript and css to define special backgrounds for certain users.

http://anime-faction.umforum.net/t807p480-g-eneral-chat-version-forever-you-cannot-kill-that-which-has-no-life

PT-Desu
PT-Desu
Forumember

Posts : 54
Reputation : 1
Language : Portuguese

Back to top Go down

Back to top

- Similar topics

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