Solved

how to add layer to main menu

Posted on 2009-05-05
8
350 Views
Last Modified: 2013-12-13
In main page i have main menu, and other sub menu, i want to add a layer background to the menu as show below how?

i already have the sub menu (green color)
now i want to create menu content one (white color) how

below is the code for sub menu(green color)
div.moduletable h3{

	background-image: url('../images/test.png');	

	background-repeat: no-repeat;

	background-position: 0px 0px;

	padding: 4px 0px 0px 11px;

	height:20px;

	margin: 0;

	font-family: Arial;

	font-size: 12px;

	font-weight: bold;

	text-align: left;

	color: #ffffff;

Open in new window

a.png
0
Comment
Question by:tankergoblin
  • 3
  • 2
  • 2
8 Comments
 
LVL 2

Expert Comment

by:tcs224694
ID: 24302670
<tr bgcolor="#009900"><td>MAIN MENU</td></tr>

Try this...
0
 
LVL 2

Expert Comment

by:tcs224694
ID: 24302681
Also this,
 bgcolor="#008000"
0
 
LVL 11

Expert Comment

by:j-b-t
ID: 24303651
I don't really clearly understand the question, I'm afraid - can you supply a url or more information. I'm not sure what you've got and what's not working

As an aside, you may want to use a joomla menu extension such as swmenu
http://www.swmenupro.com/


0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 7

Author Comment

by:tankergoblin
ID: 24310781
how can i add a png or jpg to it?
0
 
LVL 7

Author Comment

by:tankergoblin
ID: 24310783
i want to do something like experts exchange , sub menu on the right hand side
0
 
LVL 11

Accepted Solution

by:
j-b-t earned 500 total points
ID: 24310835
Hmm.. I wondering here whether the problem is that you are modifying the module table layout rather than the menu css.

I think your options are to learn about the menu css and adjust accordingly
some reading to start with = http://www.seoconsultants.com/css/menus/tutorial/

Or just install a menu extension that doe thesort of menus you are after:
http://extensions.joomla.org/index.php?option=com_mtree&task=listcats&cat_id=1788&Itemid=2
0
 
LVL 7

Author Comment

by:tankergoblin
ID: 24321684
Sorry im not try to create a menu but to add my picture on the menu so that it will not looks dry.
Example: in expert exchange with have menu call my favorites and hall of fame
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now