WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1how to put second category header ? Empty how to put second category header ? Wed Mar 14, 2012 6:24 am

medlsc

medlsc
Registered Member
Registered Member
Guys i want to put a second category header below the main category. Like the picture. How to do this ?

how to put second category header ? Dsdads10

http://med-lab-scietists.free-forums.biz/

2how to put second category header ? Empty Re: how to put second category header ? Wed Mar 14, 2012 7:15 pm

ankillien

ankillien
Administrator
Administrator
It is there by default in punBB. It is also there in other versions :s

3how to put second category header ? Empty Re: how to put second category header ? Wed Mar 14, 2012 8:02 pm

medlsc

medlsc
Registered Member
Registered Member
ankillien my version forum doesn't have this category header. .

My forum: http://medlabsc.forumotion.com/

Can you tell me what i do ?

http://med-lab-scietists.free-forums.biz/

4how to put second category header ? Empty Re: how to put second category header ? Thu Mar 15, 2012 1:00 am

ankillien

ankillien
Administrator
Administrator
Ok, phpBB3 doesn't have one like that. You need templates to add that.

5how to put second category header ? Empty Re: how to put second category header ? Thu Mar 15, 2012 1:54 am

medlsc

medlsc
Registered Member
Registered Member
ankillien is any way to put javascript or css code ? Î’ecause as you know i don't have the permission to optimize the template.

http://med-lab-scietists.free-forums.biz/

6how to put second category header ? Empty Re: how to put second category header ? Sat Mar 17, 2012 8:11 pm

ankillien

ankillien
Administrator
Administrator
Try adding this javascript for homepage...

Code:
$(function(){

  $('.forabg .topiclist .header').each(function(){
    $(this).after('<li style="background:BLUE;color:WHITE;padding:10px;">CONTENT HERE</li>');
  });

});

You can edit the uppercase text in the code to customize.

7how to put second category header ? Empty Re: how to put second category header ? Sun Mar 18, 2012 3:06 am

medlsc

medlsc
Registered Member
Registered Member
Thanks for the code ankillien.Smile The javascript works but i want to put the words ''forum'' stats'' and ''Last pots'' Above each column. like the first picture on the post.

http://med-lab-scietists.free-forums.biz/

8how to put second category header ? Empty Re: how to put second category header ? Sun Mar 18, 2012 9:31 am

ankillien

ankillien
Administrator
Administrator
Try this code...

Code:
$(function(){
  $('.forums').each(function(){
    $(this).children('.row:first').before('<li class="row"><dl><dd style="width:60%;padding:5px;">Forum</dd><dd style="width:8%;text-align:center;">Topics</dd><dd style="width:8%;text-align:center;">Posts</dd><dd style="width:8%;text-align:center;">Last Post</dd></dl></li>');
  });
});

9how to put second category header ? Empty Re: how to put second category header ? Sun Mar 18, 2012 3:26 pm

medlsc

medlsc
Registered Member
Registered Member
ok thanks ankillien Smile, One more question. How to put a background color ?

http://med-lab-scietists.free-forums.biz/

10how to put second category header ? Empty Re: how to put second category header ? Sun Mar 18, 2012 5:29 pm

ankillien

ankillien
Administrator
Administrator
Add it in this part..

Code:
<li class="row">

Like this...

Code:
<li class="row" style="background:red;">

11how to put second category header ? Empty Re: how to put second category header ? Mon Mar 19, 2012 3:27 am

medlsc

medlsc
Registered Member
Registered Member
thanks ankillien Smile Can you give me the code for the radius borders ? I want to customize the bottom-left and bottom-right borders.

http://med-lab-scietists.free-forums.biz/

12how to put second category header ? Empty Re: how to put second category header ? Mon Mar 19, 2012 8:55 am

ankillien

ankillien
Administrator
Administrator
Here is info about border radius:
http://www.w3schools.com/cssref/css3_pr_border-radius.asp

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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