Solved: 9 Years, 8 Months, 2 Weeks ago Resize Portal Announcement
#1
Solved: 9 Years, 8 Months, 2 Weeks ago
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
Reply
#2
Solved: 9 Years, 8 Months, 2 Weeks ago
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%;">
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 9 Years, 8 Months, 2 Weeks ago
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
just a noob.
Reply
#4
Solved: 9 Years, 8 Months, 2 Weeks ago
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?
Reply
#5
Solved: 9 Years, 8 Months, 2 Weeks ago
(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).
just a noob.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)