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.

Last Posts column width

View previous topic View next topic Go down

Solved Last Posts column width

Post by Klonoa on April 9th 2014, 3:31 pm

How can i change the column width of Last Posts in index page? Im using phpbb2.
I tried this but it didn't work
Code:
.tcr {
width: 20%;
}


Last edited by Klonoa on April 12th 2014, 1:04 am; edited 1 time in total

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by Jophy on April 9th 2014, 3:45 pm

Hello,

• Please provide your forum URL for appearance problems

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Last Posts column width

Post by Klonoa on April 9th 2014, 3:54 pm


Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by Pizza Boi on April 9th 2014, 5:52 pm

Hi Very Happy

Been really busy this week... sorry if I'm not much help Sad .

Please try this code:

Code:
.genmed.module-title {
  width: #px !important;
}

Please just adjust it to your desire Smile .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Last Posts column width

Post by Klonoa on April 9th 2014, 7:03 pm

Hey Pizza Boi, good to have ya back.
Im afraid that code doesn't work either, does it have to something with avatar code i implemented?

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by Pizza Boi on April 9th 2014, 7:10 pm

Hi Very Happy

I checked your CSS and you did not change # in the #px value Smile . Can you please try changing it to any number such as 300px Smile ?

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Last Posts column width

Post by Klonoa on April 9th 2014, 7:15 pm

Oh you must got me wrong xD I meant Last Post, the last column in forum body not the widget Smile

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by Pizza Boi on April 9th 2014, 7:26 pm

Hi Very Happy

In your ACP < Display < Generals < index_box < Please find this:

Code:
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>

And replace it with:

Code:
<th nowrap="nowrap" width="150" id="lpp"><div style="width:150px;">{L_LASTPOST}</div></th>

And then add this in your CSS Smile .

Code:
#lpp {
  width: #px;
}

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Last Posts column width

Post by Klonoa on April 9th 2014, 7:46 pm

Nope still not working :/

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by Pizza Boi on April 9th 2014, 8:11 pm

Hi Very Happy

Did you save and publish it? Also, did you change the #px value?

http://tfpb.forumtl.com/ It works for my test forum. If it does not, please resync your forum, clear your cache and cookies Smile .

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Last Posts column width

Post by Ange Tuteur on April 9th 2014, 8:21 pm

Hello,

Following the ACP path Pizza boi gave, you'd modify this part :
Code:
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>

You can change :
Code:
<div style="width:150px;">

width:150px; to any value you'd like, or better yet, just give it a classname :

Code:
<th nowrap="nowrap" width="150"><div class="lastpostHead">{L_LASTPOST}</div></th>

Then save and publish your template, and add the following to your stylesheet :
Code:
.lastpostHead { width:300px; }

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Last Posts column width

Post by Klonoa on April 12th 2014, 1:00 am

Worked like a charm, thanks ^^
Solved

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Last Posts column width

Post by SLGray on April 12th 2014, 2:53 am

Topic Solved & Archived


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


SLGray
Administrator
Administrator

Male Posts : 35624
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