WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Pmaurer on April 25, 2008, 02:42:19 AM

Title: Adding Button Images to my site
Post by: Pmaurer on April 25, 2008, 02:42:19 AM
I'm having problems making my menu buttons images instead of just plain text in the Web Baker "Pages" section on my header picture. I'm not seeing code anywhere in either the config.php or style.css that would hold the code for the menu buttons. I can't even insert a button image into the main site page, it wont even show up, eventhough it's in the "page". I tried to make the button image a link in the web baker control panel. help!
Title: Re: Adding Button Images to my site
Post by: ruebenwurzel on April 25, 2008, 07:00:40 AM
Hello,

how the menu is displayed is only done with css. So please have a look th the css file of your template.

As i think you will have for every menu another image (if i understand you right) you need to additional adapt the menu call in your index.php. If you use show_menu2 you can implement the page_id in the outputed menu code. By naming the menu images same as page_id and adding the related infos to css it is possible to cmbine static menu images with dynamical created menu code.

Search for mor help the forum. Details for how to solve this are already discussed.

Matthias
Title: Re: Adding Button Images to my site
Post by: marathoner on April 25, 2008, 02:58:20 PM
@Pmaurer-
Without knowing more about what these buttons consist of, you may be able to simply define an image as the background to the <a> tag in your menu and then a different image in the hover state.
Title: Re: Adding Button Images to my site
Post by: Pmaurer on April 25, 2008, 06:07:03 PM
This is what I'm having trouble with.....This is how i want the buttons to be....and the other one is showing what I'm dealing with:
(http://i18.photobucket.com/albums/b126/JKGrievous/ChevelleOnline/chevelleonline2SITEDESIGNFINALcopy.png)
(http://i18.photobucket.com/albums/b126/JKGrievous/Screen01.jpg)
Title: Re: Adding Button Images to my site
Post by: kweitzel on April 26, 2008, 09:49:11 PM
Try somthing like John suggests here: https://forum.WebsiteBaker.org/index.php/topic,3216.msg20215.html#msg20215

WARINIG: Show?Menu2 Module required!

cheers

Klaus