Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Expanding Width of Footer Text

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi folks,

I'd like to expand the width of the footer text to the perceived width of the template. I was able to make some changes via custom.css, but I couldn't get the width the whole way. I'm wondering if I need to go here?

t3-framework.org/documentation/customization.html

Thanks and cheers,

Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
Last Edit: 10 years 5 months ago by notsteve.
The administrator has disabled public write access.
Is this for moments? :)

sorry need to check

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
Yes, sir!

Thank you,

Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Sorry I should have checked what layout are we looking at?

the full width layout or the narrower article width

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
Well, that's actually a good question. How do I know? It seems that the website sometimes uses one, and sometimes uses the other? Sorry for such a dumb question…
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
I should have phrased that a bit better - can you provide a page that you want to change the width of the copyright used?

some pages may be full width and some will have a definded width

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
ah, ok. well one example is the home page:

www.asknelly.com

thanks, bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Hi Bill,

So try adjusing the spans

<div class="span8 copyright">
<jdoc:include type="modules" name="<?php $this->_p('footer') ?>" style="jbChrome" />
</div>
<div class="span4">
<div id="zen-copyright">
<?php if (!$this->params->get('copyright')) { ?>
<a class="jblink" target="_blank" href="www.joomlabamboo.com"><span>Joomla Template by Joomlabamboo</span></a>
<?php } else {
echo $this->params->get('customcopyright');
}?>
</div>
</div>


maybe span10 and span2?

is the path to the file - templates\moments\tpls\blocks\footer.php

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
Hmmm…well, that does make it wider, but the width of the footer keeps changing as the window is resized. Sometimes it's wider than the rest of the website.

www.asknelly.com

It seems like the footer should always be the width of the article preview blocks. Any thoughts on how to do that?

Thanks, Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Would the problem be that the screen is too narrow for say three blocks so the site adjusts to 2 as width?

So the website in that case would look narrower but isn't really - its just the content can't fit another block in there

It would be possible to adjust using media queries depending on what widths you wanted to target

@media (max-width: 1150px) {
.zen-copyright .row-fluid .span10 {width: 100%;}
.zen-copyright.row-fluid .span2 {width: 0%;}
}

this example makes the span10 have 100% width at 1150px and smaller and span2 being 0%

or you use

@media (min-width: 768px) and (max-width: 979px) {

.zen-copyright .row-fluid .span10 {width: 100%;}
.zen-copyright.row-fluid .span2 {width: 0%;}
}

so it would be 100% width between 768px and 979px in this example

so you could alter widths as required slightly complicated but you could tweak it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
I'll try, thanks!
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Good luck with it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers