0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry template rt-mainbottom background gradient problem

    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Joomla 3.3.6
      Gantry 4.1.27
      Gantry template 4.1.27

      bit.ly/1MB9Cqw

      This page will be for blog posts. I have a sample blog post on the page. The background for the mainbottom module is extending up over basically all the content. I've messed it up somewhere. The mainbottom background should be like the mainbottom module on the bottom of the home page.

      I've added a new module position, rt-trail, which might be causing the problem. Since I don't display rt-trail on the home page, I cannot be sure. Rt-trail was created for the breadtrail position on this site, just above the footer.

      Any help is greatly appreciated.

      Thanks in advance,
      Ed
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Hi Mark,

      Thank you! I'll work on the markup problems. See the images below that I hope will explain the problem better...

      This is the homepage of the site which has the mainbottom background displayed correctly.
      This image is hidden for guests.
      Please log in or register to see it.


      This is the Follow Us page of the site which has the mainbottom background extending up behind the rt-main content. I'd like the mainbottom background to stop just above the Twitter, LinkedIn and Videos links at the bottom of the page similar to the way it does the other modules in the image above.
      This image is hidden for guests.
      Please log in or register to see it.


      Thanks again!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Yes, it looks to me like you've messed up the index.php when adding a new position. Please post your FTP logon, password and FTP URL in the secure area of your post.

      Regards, Mark.
    • Last Edit: 10 years 2 months ago by MrT.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Hi Mark

      Please see the requested info in the secure area. Thank you!
    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Sorry I had it wrong
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • You've changed the index.php so much it's virtually impossible for me to tell what is wrong with the code. You've introduced blank lines after every line of code so that any comparison I make shows every line as being altered. I suggest therefore that for now you regress to our index.php as supplied with the template and see if that has the same issue.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Thanks for looking Mark
    • eRimkus's Avatar
    • eRimkus
    • Sr. Rocketeer
    • Posts: 168
    • Thanks: 2

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • Sorry Mark, can I try again...

      The changes I made to index.php, aside from adding:
          <?php include_once("analyticstracking.php") ?>
      on line 55,

      to the section below is where the module position changes were made. Starting on line 165:
      	<?php /** Begin Footer Section **/ if ($gantry->countModules('trail') or $gantry->countModules('footer') or $gantry->countModules('copyright')) : ?>
      	<footer id="rt-footer-surround">
      		<?php /** Begin Trail **/ if ($gantry->countModules('trail')) : ?>
      		<div id="rt-trail">
      			<div class="rt-container">
      				<?php echo $gantry->displayModules('trail','standard','standard'); ?>
      				<div class="clear"></div>
      			</div>
      		</div>
      		<?php /** End Trail **/ endif; ?>
              <?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
      		<div id="rt-footer">
      			<div class="rt-container">
      				<?php echo $gantry->displayModules('footer','standard','standard'); ?>
      				<div class="clear"></div>
      			</div>
      		</div>
      		<?php /** End Footer **/ endif; ?>
      		<?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
      		<div id="rt-copyright">
      			<div class="rt-container">
      				<?php echo $gantry->displayModules('copyright','standard','standard'); ?>
      				<div class="clear"></div>
      			</div>
      		</div>
      		<?php /** End Copyright **/ endif; ?>
      	</footer>
      	<?php /** End Footer Surround **/ endif; ?>
      

      Is this where the problem lies?

      TIA
      Ed
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry template rt-mainbottom background gradient problem

    Posted 10 years 2 months ago
    • On cursory inspection that looks ok. Why are you adding analytics when all you have to do is fill in you UA code in template manager and it would add the script?

      Nevertheless, please can you reinstate our index.php (yes I know you'll temporarily lose your trail position) - at least then we can see if the same issue still occurs and be able to rule in/out your code changes.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.079 seconds