I have a problem that is driving me nuts!
I have made plenty of Joomla templates before and I have rarely encountered this problem but lately I've seen it happen twice with some sites I've worked with.
Basically I wrote this template for Joomla and all is well... no real issues, until now.
Here is the site: The BOAT Diet
Here is the "Buy Now!" page: Buy Now Page
Yes... um the site is not my idea, just giving the client what they want... anyways...
The footer at the bottom is a sticky footer (or it is suppose to be) and it does indeed work fine and "sticks" to the bottom of the page. However for some reason if anyone clicks on "Buy Now!" at the bottom of any page (it should be on all pages) the footer is NOT sticky. Basically the "Buy Now!" button is using the RS Membership component for Joomla and that's what is generating the page you get after you click on the "Buy Now!" button (the first one).
What is happening in the code is this:
The "footer" div is NOT suppose to be inside the div with the class "gridContainer clearfix"... it needs to be just under it. In the template, it IS just under it... and all the pages work fine except THIS one. Why does this one not have a sticky footer? Because the div location is CHANGING from outside the "gridContainer" to inside it!!! Certainly first thought that popped up in my head is "WHAT?!??! how the?"... it certainly makes no sense. Here is a basic "example" of what I mean. Please check the actual site for more details because I can't just list the whole template code in the post.
How it SHOULD be (and usually is):
<div class="gridContainer">
<div id="header">header content here</div>
<div id="content">main content here</div>
</div>
<div id="footer">footer content here</div>
How it ends up on the "Buy Now!" page:
<div class="gridContainer">
<div id="header">header content here</div>
<div id="content">main content here</div>
<div id="footer">footer content here</div>
</div>
How exactly can a Joomla component change the structure of a template?? That makes NO sense. Remember, it is a template. All the other pages using the template work. There is no change in the template file from those pages (that work) vs the "buy now!" page.