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 November 4th 2013, 2:03 am

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 November 5th 2013, 2:40 am; 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 November 4th 2013, 2:27 am

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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css code for who's Online

Post by Sir Chivas™ November 4th 2013, 8:25 am

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 : 6825
Reputation : 434
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

View user profile

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest November 4th 2013, 6:29 pm

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 November 4th 2013, 9:03 pm

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 : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

View user profile https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest November 5th 2013, 2:29 am

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 November 5th 2013, 2:35 am; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Css code for who's Online

Post by SLGray November 5th 2013, 2:33 am

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 : 50262
Reputation : 3466
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Css code for who's Online

Post by Guest November 5th 2013, 2:42 am

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 November 5th 2013, 2:44 am

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 : 50262
Reputation : 3466
Language : English
Location : United States

View user profile 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