News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Logo Images In Footer?

Started by loose-cannon, November 10, 2014, 06:09:03 PM

Previous topic - Next topic

loose-cannon

What is the best way to get some of my contributors logos that link to their site at the footer or just above the footer?  I would like to add several in a row left/right and centered if possible.  I tried most of the mods and only (Global Headers and Footers) came close to what I was looking for, But they were aligned far left and just stacked up one on top of the other when I added more. I have a dark theme and do not want a large white block on the page either.  :o

Like this one...


loose-cannon

It looks like the mod (SimpleAds) come close to doing what I would like..... but I need multiple logos from left to right.  Is there anything I can add to make it do this?

<div class="windowbg">
   <span class="topslice"><span></span></span>
   <div class="content">
      {Content}
   </div>
   <span class="botslice"><span></span></span>
</div>

Gwenwyfar

If you're not going to edit or change it frequently, you can just add it directly to the footer. Just find this on your index.template.php for your current/default theme :

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer_section"><div class="frame">


Add it after that part.

There is already some styling in place there to show the list inline and centered (side by side instead of one under the other like you said), so you could reutilize that as well.

Just add each item inside a list item, something like this:


<ul>
<li><img src="linktoyourimagehere"></li>
<li><img src="linktoyourimagehere"></li>
<li><img src="linktoyourimagehere"></li>
</ul>

"It is impossible to communicate with one that does not wish to communicate"

Advertisement: