Author Topic: EZ Portal, Simple Portal and Tiny Portal side panel (block) alignment/misalign  (Read 2902 times)

0 Members and 1 Guest are viewing this topic.

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
I notice that EZ Portal, Simple Portal and Tiny Portal all have their  side panels misaligned with the center or forum, for me anyway. This is  on version 1.1.11 only. I know SP aligns fine on RC2, haven't tried the others on RC2.


Here's a screenshot using EZ Portal, they do the same thing with left blocks enabled:


Is  there any easy way to fix this on any of the three portals I listed? I  would prefer EZ Portal or Simple Portal over Tiny Portal but I'll try anything. Thanks in advance for any help.

« Last Edit: February 01, 2010, 01:05:52 AM by Cholo »

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Simple Portal on 1.1.11 seems evened out for me, at least on this site .

Offline ccbtimewiz

  • Dreamer
  • Guru
  • *
  • Posts: 1304
  • Karma: 2100
  • Gender: Male
  • $info->close();
    • Dream Portal
  • SMF Version: SMF 2.0 RC4
Looks good on Dream Portal too. ;)

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
lol

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
Well thanks for your replies but I'm still at a loss. I have tried everything I know but they never align on any of the three portals I've experimented with. I don't use the actual portal page on any of them, the home tab goes to the forum index.php page.

Simple Portal on 1.1.11 seems evened out for me, at least on this site .

Since I've never used the portal, I don't know if the blocks would align there. The forums on that site are not using any blocks, at least not so guests can see them, therefore it's not a really good example. I'm using forum pages only with blocks.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Oh, I see what you mean.  Well, I'm guessing it's in the CSS somewhere - some padding declaration or a margin.  I'll take a look maybe tomorrow.

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
Oh, I see what you mean.  Well, I'm guessing it's in the CSS somewhere - some padding declaration or a margin.  I'll take a look maybe tomorrow.


Yeah, even though I know almost nothing about CSS, I'm sure you're correct. I think it's the way 1.1.11 is set up:

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
can I get a link to your site please?

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
can I get a link to your site please?


OK Cholo, thanks for your reply. This whole deal isn't that important, I can learn to live with it rather than changing some CSS elements.

If you still want to pursue it, here's my main site which is using Simple Portal: http://catfished.com/forum and another of my sites that I just changed to EZ Portal yesterday: http://norcalcarpclub.com/forum They both have what I call a misalignment problem but I'm sure it's 1.1.11's CSS that forces it to do that like in the last screenshot I posted.
 
« Last Edit: January 28, 2010, 04:47:13 PM by catfished »

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Ok, so technically it is aligned and to get it to be even with the center area of the board index you'll have to offset it, probably by adding a top-margin. 


The element is a table column called "sp_right" which is defined in the portal.css files found in Themes/default/portal.css . To change it you'll be looking for this:


:
.sp_right{     text-align: right;  } 
Try changing it to something like this:
:
.sp_right{     text-align: right;        margin-top: 30px;  }
Adjust the pixels until you get it right.  Of course I haven't actually tried this myself and padding might work better than a margin, so as always make sure to make a backup.  It's late or I would try it myself, sorry.
« Last Edit: January 29, 2010, 12:07:08 AM by Cholo »

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
Thanks Cholo, I'll play around with it tomorrow on my 1.1.11 test forum http://fishinghost.com/forum/index.php?action=forum . If I mess it up, it's no big deal. Thanks again. :great

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
Ok, so technically it is aligned and to get it to be even with the center area of the board index you'll have to offset it, probably by adding a top-margin. 


The element is a table column called "sp_right" which is defined in the portal.css files found in Themes/default/portal.css . To change it you'll be looking for this:


:
.sp_right{     text-align: right;  } 
Try changing it to something like this:
:
.sp_right{     text-align: right;        margin-top: 30px;  }
Adjust the pixels until you get it right.  Of course I haven't actually tried this myself and padding might work better than a margin, so as always make sure to make a backup.  It's late or I would try it myself, sorry.

Cholo,

Actually, there is no such CSS file as portal.css or anything close to it that I can find in Themes/default/

Like I said in an above post, it's no big deal. However I am curious where I can find portal.css just so I can play around with it on my 1.1.11 test forum.

Hopefully they will finally release the stable version of RC2 and then I'll just upgrade everything. I was ready to do just that when all the SMF hullabaloo came out.

Edit: OK, the reason there's no portal.css file is I have EZ Portal on this test forum instead of Simple Portal. I'll uninstall EZP and install SP and go from there. :embrsd
« Last Edit: January 30, 2010, 03:40:19 PM by catfished »

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
OK, I got rid of EZP, installed SP and edited the portal.css file as you suggested but all it does is move everything down. I changed it to 170 pixels for emphasis and made a screenshot:
 

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Sorry I didn't specify that it was SP not EZp.      And you edited .sp_right ? I'll have a look.

Offline catfished

  • New Member
  • *
  • Posts: 68
  • Karma: 3
  • Gender: Male
    • CatfishEd.com
  • SMF Version: 1.1.15
Sorry I didn't specify that it was SP not EZp.      And you edited .sp_right ? I'll have a look.

Yeah, I edited SP's portal.css file as you suggested and that's what it did. Like I keep saying, it's no big deal. :)