xtreme theme centering banners

photomanz

Joined: 2010-04-09
Posts: 97
Posted: Tue, 2011-01-25 22:14

I have a banner in Gallery2 xtreme theme footer.tpl and can't seem to get it to align to the center. Is there a thread I missed somewhere that might guide me in the right direction?

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2011-01-26 09:16

The contents of footer.tpl whatever you want in basic HTML. Nothing special happens there.
So just write up the HTML as you want and that is what you will get.

--
dakanji.com

 
photomanz

Joined: 2010-04-09
Posts: 97
Posted: Thu, 2011-01-27 17:43

Sorry, I meant to say banner_footer.tpl and not footer.tpl. Seems no matter how I try to align it, the code gets ignored, even though it shows up on the page after clearing the template cache. Does anyone have an example of a center aligned banner_footer.tpl code?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2011-01-27 18:38

if you provide a link to the offending page, I may have a suggestion - otherwise, no.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-01-27 18:49

Are you clearing your cache after making changes to the template files?
FAQ: How can I clear cached data?

http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2011-01-27 18:52

Go to footer.tpl and trying changing ...

<table>
  <tr>
    <td>
      {if !empty($theme.params.bannerFooter)}
	{g->theme include=$bannerFooter}
      {/if}
    </td>
  </tr>
</table>

to

<table>
  <tr>
    <td class="bsw_BlockCommands">
      {if !empty($theme.params.bannerFooter)}
	{g->theme include=$bannerFooter}
      {/if}
    </td>
  </tr>
</table>

--
dakanji.com