This tutorial covers the integration of a CSS dropdown menu into phpBB styles (subSilver2 based) similar to the menu seen here on STG BF_Vista. For the purposes of this tutorial we will use a pre-created menu and modify it to our desires and needs.
WARNING: This is an advanced level template change --- you should BACKUP any files involved BEFORE changing them.
What you will need: An Editor (for HTML and CSS editing) Photoshop or similar (for creating graphics to your liking) Professional Menu from CSSPlay (Download the basic code for the menu)
1) Getting all the image files in the right place -Place all the GIF images contained in the ZIP file in your 'theme/images' folder
2) Getting the CSS code in the right place -Place 'pro_dropdown_6.css' in your 'theme' folder
Open 'theme/stylesheet.css' and add: (-Insert at the top of the stylesheet.css after the comments)
3) Getting the HTML Code in the right place -You have one of two options 1) Look at the HTML code in 'pro_drop6.html in the ZIP file and use the generic code by inserting it into the overall_header.html or 2) since we are customizing this for phpBB using the following code and inserting it into the overall_header.html (where depends on where you want it to appear):
6) Save All your changes and Upload -- Don't forget to purge your cache -- Your users may have to clear their local cache before it will appear correctly.
You will need to go through your site and remove duplicate links you no longer need that are in the menu bar. Also please note that if you have an over-sized site logo, this menubar will be displaced like it is in the below image versus where it is positioned on STG which uses a logo with a height of 100px
This will generate a menu that looks like this:
Extras: Images - Different Images for the menu bar and rollover effect - you can create your own images and replace the existing ones like we have here on STG (also you can compare the 1st and 2nd screen shots for differences) Colors Used - You can edit the CSS file to generate any color scheme you want! There are limitless possibilities! Adding/Removing Links - You can add or remove links by simply mimicking the code around where you are trying to put the link. Fixed Width vs Full Screen - More to Come! Any requests for support can be placed in this topic related to changing colors and adding or removing links... but PLEASE consider the difficulty of this change before you attempt it.
05.08.09The Black Ice Project Please use the forums for support requests. Review the Board Rules here.