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.

Css code for who's Online

3 posters

Go down

Solved Css code for who's Online

Post by Guest 4/11/2013, 02:03

How would you do a custom css background for the Who's Online section? What is the Css code for the section I know the basic css code is
Code:
body {background-image:url('imagelink.png');

Background-repeat: no-repeat;


Last edited by Nape4 on 5/11/2013, 02:40; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Css code for who's Online

Post by Ange Tuteur 4/11/2013, 02:27

Hello Nape4,

The CSS selectors and ID's differ across forum versions. If possible, can you please provide us the version of your forum?
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css code for who's Online

Post by Sir Chivas™ 4/11/2013, 08:25

Hi,

Please provide us your forum URL, thank you. Smile

Or is it this one? http://lucario-domain.ogamebattle.com/forum

Regards,
Sir Chivas?
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6983
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest 4/11/2013, 18:29

Sir Chivas™️ wrote:Hi,

Please provide us your forum URL, thank you. Smile

Or is it this one? http://lucario-domain.ogamebattle.com/forum

Regards,
Sir Chivas?
http://lucario-domain.ogamebattle.com/forum is the one yes the type is phpbb 2 (subsilver) the css codes for the categorys work fine as you can see on my site. I also checked my site for malwere with a free scan for malwere on other scan for malwere site.
avatar
Guest
Guest


Back to top Go down

Solved Re: Css code for who's Online

Post by Ange Tuteur 4/11/2013, 21:03

Most of the classes are universal: forumline, row1, 2, ect..Who is online table is using forumline and row1 however, we can apply a unique class to the who is online table with some JS, so we can style those cells specifically:

Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management

Create a new script, tick only 'in the homepage', paste the code below and save.
Code:
$(function() {
$('.forumline:contains("Who is online?")').addClass('whoIs');
});
Then add this to CSS for styling:
Code:
table.forumline.whoIs td.row1{
background-image:url('IMG SRC');
background-color:#fff;/*Remove if only using img*/
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest 5/11/2013, 02:29

SethC1995 wrote:Most of the classes are universal: forumline, row1, 2, ect..Who is online table is using forumline and row1 however, we can apply a unique class to the who is online table with some JS, so we can style those cells specifically:

Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management

Create a new script, tick only 'in the homepage', paste the code below and save.
Code:
$(function() {
$('.forumline:contains("Who is online?")').addClass('whoIs');
});
Then add this to CSS for styling:
Code:
table.forumline.whoIs td.row1{
background-image:url('IMG SRC');
background-color:#fff;/*Remove if only using img*/
}
umm the way you said it sound like java.

the way I do css is the following

Admin Control Panel,Display,Colors then Css style sheet

all i want is a simple css code for the style sheet not some extra java script. aslo is the code all for css or is it java then css code

Code:
table .forumline.whois td.row 1{ background-image:url('Img src');

background-repeat: no-repeat
 will is just work for css style sheet only not java in colors display


Last edited by Nape4 on 5/11/2013, 02:35; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Css code for who's Online

Post by SLGray 5/11/2013, 02:33

JavaScript:
Code:
$(function() {
$('.forumline:contains("Who is online?")').addClass('whoIs');
});
CSS:
Code:
  table.forumline.whoIs td.row1{
    background-image:url('IMG SRC');
    background-color:#fff;/*Remove if only using img*/
    }


Css code for who's Online Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest 5/11/2013, 02:42

this subject is completed thanks I will do this as soon as I can on my site Smile.
avatar
Guest
Guest


Back to top Go down

Solved Re: Css code for who's Online

Post by SLGray 5/11/2013, 02:44

Topic Solved & Locked


Css code for who's Online Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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