1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add to footer - all pages.

Discussion in 'Styling and Customization Questions' started by ashkir, Jul 9, 2012.

  1. ashkir

    ashkir Active Member

    Is there a way we can add an HTML code (for our cBox) to the bottom of every page?

    [​IMG]
    Where I put the "here" in red. I want to add the code there, but, on every page not just the index.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Add it to the PAGE_CONTAINER template in the footer section.

    Or indeed the footer template.
     
  3. ashkir

    ashkir Active Member

    Footer template seems to go below the green bar. Trying page_container now! Thanks!

    Edit can't seem to get it right. It's messing up the entire look. This is the code I want:

    Code:
    <div class="cboximg"><a href="http://www.rpg-directory.com/index.php?/topic/79609-the-official-rules-guidelines-for-rpg-directory/page__pid__11271871#entry11271871"><img src="http://rpg-directory.com/images/thecbox.png"></a></div>
    <div class="faqimg"><a href="http://www.rpg-directory.com/index.php?/topic/79617-frequently-asked-questions/"><img src="http://rpg-directory.com/images/cboxquestion.png"></a></div>
    <div class="cbox">
    <div class="cboxinner">
    <div id="cboxdiv" style="text-align: center; line-height: 0;"><div><iframe frameborder="0" width="100%" height="275" src="http://www5.cbox.ws/box/?boxid=373271&amp;boxtag=5715&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#ababab 0px solid;" id="cboxmain"></iframe></div><div><iframe frameborder="0" width="100%" height="75" src="http://www5.cbox.ws/box/?boxid=373271&amp;boxtag=5715&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#ababab 0px solid;border-top:0px" id="cboxform"></iframe>
    </div></div>
    
    This is a screenshot of what it looks like :/ http://i.imgur.com/XHeQn.jpg Ruins the complete design.
     
  4. ashkir

    ashkir Active Member

    Edit: Fixed :D Created its own template
     
    Yorick and Drae like this.
  5. Chris D

    Chris D XenForo Developer Staff Member

    Well done :)
     

Share This Page