TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 76
  • Total: 76

Spacing or padding around article blocks

Started by Dianna, February 28, 2009, 10:19:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dianna

Ichbin, that's the huge subject for this thread....it can't be removed apparently.  Zarprime has reported it as a bug or is going to look into it because others have had the same problem.  It appears to be a frame without a border on it that is stuck in the "ON" position.  I have my articles set to no frame/title and there is nothing to get that gray border out of there. Or at least I haven't been able to find it anywhere. Zarprime looked it it last night.  In the frontpage the gray panel isn't a problem.  It's in the articles.  This entire thread is me trying to figure out how to get rid of it.  I would love for my site to look like this page that zarprime made with a green top above the article:

www.schreeandbaby.com/index.php

This mystery gray padding is causing my article widths to go into that scroll mode. Even with PHP code it's keeping it int he scroll.  So I'm having to go now and shrink up the width of my HTML pages to work around that gray cell padding that I can't remove. 

Zarprime posted a link to another thread that is about this same issue. I would LOVE to have someone find that gray padding! 

ZarPrime

Ich,

Feel free to take a look at this.  I have been fighting with this for the past several days and I can't figure out where that border is coming from.  Here is one of her article pages where you can see that gray padding.  She has all visual options unchecked for the article, but the gray padding is still showing up ---> http://www.schreeandbaby.com/index.php?page=advertising

I had put this in as a bug a while ago when somebody else had the same problem with the gray border on their Front page.  The way I worked around it with that one, and with Diana's was to setup a FrontPage single Article block.  The bug is located here ---> http://www.tinyportal.net/index.php?action=bugtracker;sa=bug466

If you can solve it, that would be fantastic, but it seems beyond my expertise right now.

ZarPrime

Dianna

Thank you zarprime, you rock for all the time you took to look into this!  I do appreciate all that you guys do and the time you take.

Ichbin, if you do wan to look at it and have time and need my temp login let me know and I'll pm it. Or zarprime feel free to give it to him as well.

www.schreeandbaby.com/index.php is how I want the site pages to look

www.schreeandbaby.com/index.php?page=faqs  is with the gray border and how it messes up my width and puts the content into a scroll

www.schreeandbaby.com/index.php?page=about  is how I was going to shrink up my html pages to work with the gray border and if I choose the frame option without title it will at least put a border on the gray.   

IchBin

Feel free to PM, I'll try to take a look at it.

ZarPrime


IchBin

As a quick test, open up your index.template.php file. Right where the body starts AFTER the header there is a table. It has a cellpadding ="4" in it. Change that to 0 and see if it fixes the scroll issue.

Dianna


Dianna

#77
I'm not seeing what you are talking about.  After my header after my header ends?  I did a FIND and don't see cell padding that has 4.  I'm in the Goldcharm theme that I'm using.  You aren't referring to the default theme? 

Do you mean maybe this:

//The main content should go here.
echo'
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';


ETA:  I just changed the padding to 0px 0px 0px 0px and it didn't do anything different.  I think I had tried that before so I must put it back to the default so I wasn't messing something up that I couldn't see.  I've combed my CSS and index.template for that padding, but then again I'm not a php coder, I just follow instructions well and sorta can wing it.

IchBin

Now that I think about it, it is probably in the TPortal.template.php file. If you can't find it, let me know and I'll take a look.

Dianna

#79
Hey Ichbin, wow, let me go look. I'm excited. :-)  Let me look and I'll let you know.

ETA:  Unless I'm totally PHP iliterate, but I do not see where the body ends and the header starts in the TPortal.template.php file.  I've combed all the coding twice and I do not see where anything that defines where the body or header areas.

ETA: Just in case, I'm going to look in TPBlockLayout.template.php and TPBlocks.template.php

ETA: Okay, I think I'm seeing a padding=4px in the TPBlockLayout.template.php and I'm going to try to change that. BRB

This website is proudly hosted on Crocweb Cloud Website Hosting.