Add Image in the menu
How can you add an image in the main menu and should be the dimensions
How can you add an image in the main menu and should be the dimensions
you would need to edit the webassist/plugins/main_menu/menu.php file and add an inline style for the background image, for example:
change:
<li class="top"><span><a href="../../../index.php">Home</a></span></li>
to:
<li class="top"><span><a href="../../../index.php" style="background-image: url('plugins/path/to/image.jpg');">Home</a></span></li>
the dimensions will change from theme to theme, 90 X 35 is a good starting point though
i agree <li class="top"><span><a href="../../../index.php" style="background-image: url('plugins/path/to/image.jpg');">Home</a></span></li>
Does that mean I will be able to set the height from 55 to 40px of navigation as well, when I do that the banner underneath floats to the right.
Also do I add the image to the index.php file or the css
you need to edit the theme css to change the height of the navigation, not the menu file.
send a link to your site and i can give more information
for the image on the menu, by adding the inline style:
style="background-image: url('plugins/path/to/image.jpg');
to the menu item, you are attaching the image to the menu, you don't need to add it anywhere else.
in the webassist/themes/three_col_new/css/crazy_styles.css file, you need to edit the height of the #navWrapper selector, and the height and line-height for the #cssmw li.top selector to change the menu items height.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.