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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,971
  • Latest: camgear
Stats
  • Total Posts: 196,071
  • Total Topics: 21,338
  • Online today: 238
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 288
  • Total: 288

Header Space

Started by Itchdog, October 28, 2026, 02:14:21 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Itchdog

This is more of a "please help!" post than a need for tech support. I've gotten the software to work, and it works well. But there's a few small things that are bugging me. See the attached. The article block (the one that says "Orlando & Central Florida") is set to show with both the left and right sidebars. There is a space above the article that pushes it down. I checked the theme settings, an nowhere can I find anything that would post a single space. There are no blocks set to show above the article. It's driving my OCD nuts. Does anyone know how to get rid of that space?

One note: The article is actually just code to show an iframe with a php script from the server:

<iframe
    src="https://centralfloridian.com/rssnews.php"
    width="100%"
    height="700"
    style="border: none;"
    title="Embedded webpage">
</iframe>

@rjen

Can you share a link to the page in question?
Running Latest TP on SMF2.1 at: www.fjr-club.nl


lurkalot

Does look a bit strange that that empty header still shows. 

I'm curious though why you don't just put your code in a Center panel block?  It would look like this https://cctestsite.com/testsite2/index.php

@rjen

Yeah, I think that is actually a css bug that can be fixed in a next release. It is indeed an empty Div either a padding as a result of switching of the header
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Quote from: @rjen on October 28, 2026, 06:08:48 PMYeah, I think that is actually a css bug that can be fixed in a next release. It is indeed an empty Div either a padding as a result of switching of the header

No, it is not a bug as such.

Just checked what you are doing and you are trying to remove the title by suppressing the header styles and switching all content off.
Problem is that de header div still needs to be there with the padding: the header does not 'know' you removed all contents..

Maybe I can fix it, it it will mean changing some more stuff on the templates and css... Lukalots suggestion is simpler...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Itchdog

Quote from: lurkalot on October 28, 2026, 05:37:00 PMDoes look a bit strange that that empty header still shows. 

I'm curious though why you don't just put your code in a Center panel block?  It would look like this https://cctestsite.com/testsite2/index.php

I just want the news to show when a user clicks the link. That's why I have it set to pull up the article with the iframe.The article is set to show the left and right panels so it kind of looks like it's still the main page. But that gap at the top kind of gives it away, lol. I just wish there was a checkbox in the article settings to show the front panel blocks as well.

@rjen

Quote from: Itchdog on October 28, 2026, 11:54:49 PM
Quote from: lurkalot on October 28, 2026, 05:37:00 PMDoes look a bit strange that that empty header still shows. 

I'm curious though why you don't just put your code in a Center panel block?  It would look like this https://cctestsite.com/testsite2/index.php

I just want the news to show when a user clicks the link. That's why I have it set to pull up the article with the iframe.The article is set to show the left and right panels so it kind of looks like it's still the main page. But that gap at the top kind of gives it away, lol. I just wish there was a checkbox in the article settings to show the front panel blocks as well.

The front panel no, but what you can do is use the top or center panel instead...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Itchdog

QuoteThe front panel no, but what you can do is use the top or center panel instead...

Thanks for the advice. I did it. But the gap above the article is even more noticeable: https://centralfloridian.com/index.php?page=7

Itchdog

Quote from: @rjen on October 28, 2026, 06:08:48 PMYeah, I think that is actually a css bug that can be fixed in a next release. It is indeed an empty Div either a padding as a result of switching of the header

Is there a file I can edit to eliminate the padding? I have a couple of articles that show as pages when the user clicks the links.

Quote from: @rjen on October 28, 2026, 06:52:45 PMJust checked what you are doing and you are trying to remove the title by suppressing the header styles and switching all content off.
Problem is that de header div still needs to be there with the padding: the header does not 'know' you removed all contents..

Is there a setting that I can try that may help with this? I've been playing with the layout but haven't been able to find anything that works.

This website is proudly hosted on Crocweb Cloud Website Hosting.