0
Welcome Guest! Login
0 items Join Now

404 page missing DIV closing tag

    • Dave's Avatar
    • Dave
    • Rocketeer
    • Posts: 85
    • Thanks: 2
    • Print, Web & SEO

    404 page missing DIV closing tag

    Posted 11 years 1 month ago
    • Guys I was trying to modify the Gantry 404 page (404.php) and the first thing I noticed was the rt-container or the error-content DIV is missing a closing tag. I'm using the latest Gantry version, 4.1.1.

      Can someone show me where a closing tag should go?
      		<div class="rt-container">
      			<div class="component-content">
      				<div class="rt-grid-12">
      					<div class="rt-block">
      						<div class="rt-error-rocket"></div>
      						<div class="rt-error-content">
      							<h1 class="error-title title">Error: <span>404</span> - <?php _re('Page not found'); ?></h1>
      							<div class="error-content">
      							<p><strong><?php _re('You may not be able to visit this page because of:'); ?></strong></p>
      							<ol>
      								<li><?php _re('an out-of-date bookmark/favourite'); ?></li>
      								<li><?php _re('a search engine that has an out-of-date listing for this site'); ?></li>
      								<li><?php _re('a mistyped address'); ?></li>
      								<li><?php _re('you have no access to this page'); ?></li>
      								<li><?php _re('The requested resource was not found.'); ?></li>
      								<li><?php _re('An error has occurred while processing your request.'); ?></li>
      							</ol>
      							<p><a href="<?php echo home_url(); ?>" class="readon"><span>&larr; <?php _re('Home'); ?></span></a></p>
      						</div>
      					</div>
      				</div>
      			</div>
      		</div>
      		<?php $gantry->displayFooter(); ?>
      	</body>
      </html>
      <?php
      $gantry->finalize();
      ?>

      Again, I have not modified any of this - it's straight from the Gantry zip.
  • Re: 404 page missing DIV closing tag

    Posted 11 years 1 month ago
    • Hi,

      In most of our themes the 404.php page is under theme's root. Could you please let us know which theme are you using so we could try to fix this?

      Dimitris
    • Posting a url to your site and screenshots of your issue could be really helpful.
      How to add a Custom Stylesheet in Gantry for WP
    • Dave's Avatar
    • Dave
    • Rocketeer
    • Posts: 85
    • Thanks: 2
    • Print, Web & SEO

    Re: 404 page missing DIV closing tag

    Posted 11 years 1 month ago
    • Hey Dimitris I know you guys are overwhelmed with support questions but I mentioned the theme and version in the first sentence - it's the vanilla version of Gantry 4.1.1.

      Thanks :)
    • Last Edit: 11 years 1 month ago by Dave.
  • Re: 404 page missing DIV closing tag

    Posted 11 years 1 month ago
    • Hi,

      I can confirm your issue. It seems that it's the rt-container that it's missing the closing div. You can create a new line above line 69:
      <?php $gantry->displayFooter(); ?>

      and add the closing div there (</div>).

      This will be fixed i believe really soon.

      Thank you for reporting these bugs :)

      Regards,
      Dimitris
    • Posting a url to your site and screenshots of your issue could be really helpful.
      How to add a Custom Stylesheet in Gantry for WP
  • Re: 404 page missing DIV closing tag

    Posted 11 years 1 month ago

Time to create page: 0.054 seconds