MyBB Community Forums

Full Version: Where is the forumdisplay.php template file to edit it?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2013-07-18, 11:01 AM)Arbaz Wrote: [ -> ]If you want to move or add a margin to your "New Thread" and "New Reply" buttons then do the following:

Go to ACP>Templates & Styles>Templates>Showthread>Showthread Template

Find

<div class="float_right">
		{$newreply}
	</div>

Change to

<div class="replymove">
		{$newreply}
	</div>

Then go to ACP>Templates & Styles>Themes>Global.css>Advanced Mode

At the very bottom of your global.css stylesheet add the following code:

.replymove {
    margin: 10px;
}

Then click "Save".

For New Thread

I'll post it later. I'm on my iDevice at the moment.

WOW, you posted quite a lot for being on your iDevice Smile It works.

Now I just need it for the 'New Thread' button too.
New Thread button is located on Forum Display Templates -> forumdisplay_threadlist

You'll see this near the top and near the bottom of the template.
<div class="float_right" style="padding-bottom: 6px;">
	{$newthread}
</div>
You can either add a new class like on Arbaz's sample or add inline css directly like on the sample above.

Quote:.tcat is the lightblue color column where it says Thread/Author, Replies, Views, Rating and Last Post, just under the darkblue gradient.
This is also on found on Forum Display Templates -> forumdisplay_threadlist
(2013-07-18, 11:16 AM)Greg Winston Wrote: [ -> ]
(2013-07-18, 11:01 AM)Arbaz Wrote: [ -> ]If you want to move or add a margin to your "New Thread" and "New Reply" buttons then do the following:

Go to ACP>Templates & Styles>Templates>Showthread>Showthread Template

Find

<div class="float_right">
		{$newreply}
	</div>

Change to

<div class="replymove">
		{$newreply}
	</div>

Then go to ACP>Templates & Styles>Themes>Global.css>Advanced Mode

At the very bottom of your global.css stylesheet add the following code:

.replymove {
    margin: 10px;
}

Then click "Save".

For New Thread

I'll post it later. I'm on my iDevice at the moment.

WOW, you posted quite a lot for being on your iDevice Smile It works.

Now I just need it for the 'New Thread' button too.

Thanks. I have a habit of typing fast on cell phones, iDevices and computers.

For the New Thread, Go to ACP>Templates & Styles>Templates>YOUR THEME>Forumdisplay>forumdisplay_threadlist

Find

<div class="float_right">
	{$newthread}
</div>

Change to

<div class="movethread">
	{$newthread}
</div>

Then go to your global.css stylesheet in advance mode and add the following at the very bottom:

.movethread {
             margin:10px;
}
Pages: 1 2