Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to add a design Banner above the entire Vanilla forums header?

vegasprovegaspro New
edited July 2012 in Vanilla 2.0 - 2.8

I would like to add a 900x200 graphic banner above the vanilla header (shift the entire forums down). What is the best way to accomplish this? Just want to make sure I edit the correct file(s).

Comments

  • dashboard banner.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • No, not a banner logo. We want to put a graphical banner above the entire header.

  • mcu_hqmcu_hq yippie ki-yay ✭✭✭

    look at the template file and put in graphic there inside of the section but before the placement of your logo. Use the custom.css for other edits.

  • hi, thanks. But which file is the template file?

  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • mcu_hqmcu_hq yippie ki-yay ✭✭✭

    there should be a file called master.tpl or master.php under your views folder I believe. @peregrine and @422 made a "how-to" about this on the forum somewhere....

  • peregrineperegrine MVP
    edited July 2012

    @hbf created the wiki , the link which is in my signature. The vanilla founders created the documentation which is a button at the top and @422 created the theme documentation in the announcements and @whu606 created the annotated theme. And @mcu_hq has created a nice theme with a million modification examples in default.master.php. And the recommendation for version 2.1 is to use default.master.tpl files rather than default.master.php for theming.

    and the search box has improved in recent times. Should give you the info you need.

    default.master.php or default.master.tpl depending on theme.

    Because one question will lead to the next if you don't read those.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • vegasprovegaspro New
    edited July 2012

    I was able to edit default_master.php and placed my banner code here:

    < div id="Head" >< center >< img src="vgw_banner.jpg" width="1000" height="300" / >< /center >
    

    It works for the home page but when you click a DISCUSSION the banner image disappears.

    Is there another place to edit?

  • peregrineperegrine MVP
    edited July 2012

    use firebug - to see if it just can't find your image because of the way you sourced it.

    re-edit your post highlight the code and click C in the buttonbar.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • 422422 Developer MVP

    Use pockets plugin if you dont know how to code.

    There was an error rendering this rich post.

  • vegaspro said:
    It works for the home page but when you click a DISCUSSION the banner image disappears.

    Since I love vegas (too much), I will help you as much as I can.

    • First, read @422's tutorial, it's in the announcements at the top of the discussions list, you can't miss it.
    • Second, if @422 and @peregrine give you more tips, try to follow them as much as you can
    • Third, you said you edited default.master.php does that mean that you are editing a custom theme? What is the name of that theme? Or are you editing the actual file of Vanilla? Then **stop** and start with my first tip ;-)
    • Last (for now) : Start with a theme that you know has a place for a logo. In that case you can simply change the name of the logo file (for now) and later change the size and everything else. But first @422's tutorial, please.

    There was an error rendering this rich post.

  • This post helped me to add a banner to the top of my forum. I ended up using the pockets plugin, which worked perfectly and had more features than I could dream of.

Sign In or Register to comment.