TinyPortal

Development => Support => Topic started by: jernatety on May 30, 2019, 06:41:28 PM

Title: Front page footer - Did I break something?
Post by: jernatety on May 30, 2019, 06:41:28 PM
I can't figure out if I broke something. Does this look right? I just noticed it and don't remember it looking like that but at the same time I'm not sure if I remember what it is supposed to look like.

youthhockeyinfo.com
Title: Re: Front page footer - Did I break something?
Post by: @rjen on May 30, 2019, 06:46:20 PM
You have an unclosed DIV somewhere
Title: Re: Front page footer - Did I break something?
Post by: lurkalot on May 30, 2019, 07:01:29 PM
Quote from: @rjen on May 30, 2019, 06:46:20 PM
You have an unclosed DIV somewhere

I was thinking the same.  That box-shadow that's been added seems to look a bit odd too, it continues down through the footer section as well.
Title: Re: Front page footer - Did I break something?
Post by: @rjen on May 30, 2019, 07:31:20 PM
It seems to be related to the blockcode that you used to create the three responsive blocks-in-a-block.

Look for this code: <body id="tpbody" class="tpcontnainer"> and replace with <div id="tpbody" class="tpcontnainer">

Then add one closing </div> at the end of the blockcode

If that does not fix it, can you post the full blockcode for that php block from your site here?
Title: Re: Front page footer - Did I break something?
Post by: @rjen on May 30, 2019, 07:58:27 PM
Quote from: lurkalot on May 30, 2019, 07:01:29 PM
That box-shadow that's been added seems to look a bit odd too, it continues down through the footer section as well.

He caused this when he added the box-shadow to the wrapper ...

The wrapper encloses the whole page, also the footer, that's what causing this.. Remove the box-shadow and it is fixed...

This is nothing to do with Tinyportal: playing with the curve theme, this may be the result...
Title: Re: Front page footer - Did I break something?
Post by: jernatety on May 30, 2019, 08:48:34 PM
I made the change to the block code and removed the box shadow in index.css but still have the same effect at the footer.
Title: Re: Front page footer - Did I break something?
Post by: @rjen on May 30, 2019, 08:52:49 PM
Did you delete your browser cache? It looks OK on my pc now...
Title: Re: Front page footer - Did I break something?
Post by: jernatety on May 30, 2019, 09:01:07 PM
Quote from: @rjen on May 30, 2019, 08:52:49 PM
Did you delete your browser cache? It looks OK on my pc now...

Yeh, I did a shift F5, weird. It's browser related I think. It looks fine in FF and IE but not Chrome.
Title: Re: Front page footer - Did I break something?
Post by: @rjen on May 30, 2019, 09:06:10 PM
The original issue you reported is gone, the one with the drop shadow has returned: either you put this back into the css or there is some server caching bringing the css back...


/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
margin: 0 auto;
min-width: 764px;
max-width: 2300px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.65);
}

/* lets give all forms zero padding/margins */
form
Title: Re: Front page footer - Did I break something?
Post by: jernatety on May 30, 2019, 09:35:10 PM
Quote from: @rjen on May 30, 2019, 09:06:10 PM
The original issue you reported is gone, the one with the drop shadow has returned: either you put this back into the css or there is some server caching bringing the css back...


/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
margin: 0 auto;
min-width: 764px;
max-width: 2300px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.65);
}

/* lets give all forms zero padding/margins */
form


Yes, I saw the issue didn't get fixed in Chrome but looks fine in FF and IE so I put the code back to keep the drop shadow on the wrapper.