MyBB Community Forums

Full Version: Resize Portal Announcement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, just wondering if anyone could help me out to fix this. In my portal in the bit that shows the recently created threads you will see that it has matched the size of the avatar and the width of the text box. Is there any way to edit the coding so that i could keep the avatar space the same as now but so i can make the text part stretch the length of the box. It seems to be that it is splitting 50:50 whereas i would like it to only split 25:75.

Any help would be greatly appreciated.

http://www.vpfl.club/forum/portal.php
ACP >> Templates >> Portal Templates >> portal_announcement find....

<table border="0" cellpadding="{$theme['tablespace']}" class="tfixed" style="width: 40%;">

change that too...

<table border="0" cellpadding="{$theme['tablespace']}" class="tfixed" style="width: 100%;">
I don't quite understand what you want, but I'm going to try.

I am assuming you want something like this: http://i.imgur.com/ZKQP4oD.png

If so,

Under Portal Templates in your theme's template set, look for portal_announcement

Find:
<table class="tfixed" style="width: 40%;" border="0" cellpadding="5">

Replace with:
<table class="tfixed" border="0" cellpadding="5">

EDIT: Nevermind. Someone answered it Big Grin
Hey Guys,

Nollid that pic u posted is exactly what i wanted in the portal pages. However if u look at what i have now that i have done what the first poster done. It fills the whole box but the avatar takes up half and the text takes up half. I want it to look exactly like what u posted.

EDIT: Think i may have fixed it. I took width out like was posted above. Also changed cellpading to "5" fromĀ {$theme['tablespace']}

Would taking the theme bit out mess anything up?
(2015-03-21, 07:20 AM)danzoooo Wrote: [ -> ]Hey Guys,

Nollid that pic u posted is exactly what i wanted in the portal pages. However if u look at what i have now that i have done what the first poster done. It fills the whole box but the avatar takes up half and the text takes up half. I want it to look exactly like what u posted.

EDIT: Think i may have fixed it. I took width out like was posted above. Also changed cellpading to "5" fromĀ {$theme['tablespace']}

Would taking the theme bit out mess anything up?

Depends....
the {$theme['tablespeace']} is determined by the input you put in your theme's options.

http://i.imgur.com/j1bdKQB.png

Most of the tables in most themes have {$theme['tablespeace']} in the cell-padding, so all tables would look similar. (That is what I think anyway).