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.

Width of the column

View previous topic View next topic Go down

Solved Width of the column

Post by Luffy on November 10th 2013, 12:01 pm

Good Morning everyone!

I would like to change the width of the main forum columns. The one that show the forums, the statistics column and the last topic column. I cannot find it in the templates. Is there any code i should use?

My forum is punbb version. Thanks..


Last edited by Marios94 on November 11th 2013, 9:01 pm; edited 1 time in total

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Width of the column

Post by Ikerepc on November 10th 2013, 3:29 pm

Go in administration panel -> Forum -> Configuration

Change forum width in Pages structure

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Width of the column

Post by Luffy on November 10th 2013, 4:02 pm

that changes the categories width.. all i want is this:







Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Width of the column

Post by Ikerepc on November 10th 2013, 4:29 pm

This is codes:
tcl - forum name
tc2 - number of topics
tc3 - number of posts
tcr - for last post

Example:

Paste this in css:
Code:
.tcl {
width: 70%;
}
.tc2 {
width: 5%;
}
.tc3 {
width: 5%;
}
.tcr {
width: 20%;
}
If you need right code tell me sizes and I will make it for you, only, it change sizes of topics, number of replies,views etc. If you want change just forums you need to edit template, but it have more job.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Width of the column

Post by Luffy on November 10th 2013, 4:40 pm

Ιm sorry my friend but none of the codes above work.. if u want i can show you the code in the template! Will it help u?


Τemplate:
<div class="pun-crumbs">
<p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="main-head">
<div class="page-title">{catrow.tablehead.L_FORUM}</div>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl"></th>
<th class="tc2"><b>Statistics</b></th>

<th class="tcr"><center><b>Info for Last Topic</b></center></th>
</tr>
</thead>
<tbody class="statused">
<!-- END tablehead -->

<!-- BEGIN forumrow -->
<tr>
<td class="tcl" width="450px" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
<span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</span>
<h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
<br />
<div class="descript"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
<div class="subforums"><span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span></div>
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</td>
<td class="tc2" align="center" valign="middle" height="50" width="200">
<span class="gensmall"><b>Topics :</b> {catrow.forumrow.POSTS}<br /><div class="staticanswer">Αnswers :</div> {catrow.forumrow.TOPICS}</span>
</td>
<td class="tcr" align="right" valign="right">
<span><center>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</center></span>
</td>
</tr>
<!-- END forumrow -->

<!-- BEGIN tablefoot -->
</tbody>
</table>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">

<p class="left"><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></p>
<p class="right"><a href="{U_SEARCH_SELF}">My posts</a></p>


</div>
<!-- END switch_on_index -->



Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Width of the column

Post by SLGray on November 10th 2013, 7:19 pm

That code is CSS code. Add to your CSS Stylesheet.


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Width of the column

Post by Luffy on November 10th 2013, 7:33 pm

i did but still nothing






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Width of the column

Post by SLGray on November 10th 2013, 7:35 pm

Please post your template here with the code tags.


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Width of the column

Post by Ange Tuteur on November 11th 2013, 12:05 am

Hello Marios94,

I'm just going by your image, but is this what you want?

Last Posts: Width 250px
Stats: Width 60px

Try this in your CSS stylesheet:
Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet

Paste the codes below and submit
Code:
.pun .main-content .tc2{
width:100px;
}
.pun .main-content .tcr{
width:250px;
}
.pun .main-content .tcl{
width:700px;
}
The cell width distribution is a bit obscure for punbb, but it should resize the cells if it works. You might need to make a few edits to get what you want.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Width of the column

Post by Luffy on November 11th 2013, 8:01 pm

Thank you Seth!!! The code works!!! Thank you very much!!!!!!!!!!

You can close the topic!!! :wouhou: :wouhou:

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Width of the column

Post by SLGray on November 12th 2013, 3:32 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.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