Elxis CMS Forum

Support => General => Topic started by: xmanhattan on March 05, 2013, 16:05:22

Title: 2009 menu problem
Post by: xmanhattan on March 05, 2013, 16:05:22
Hello all,

I am testing a new template locally for my 2009 website and I am seeing in the main menu
Code: [Select]
<img alt="indent1" before the menu title.
This is happening for all of the Menu Items Content Category (table view).

The Menu Items Content Category (table view) settings are:
Menu Image: is set to do not show an image.
Use only the Menu Image: is set to no.

How can I set the alts to either empty?

Title: Re: 2009 menu problem
Post by: datahell on March 06, 2013, 09:08:15
If the alt attribute is empty the code is invalid...
Title: Re: 2009 menu problem
Post by: xmanhattan on March 06, 2013, 13:23:12
Which code is invalid, the php or the css?  I am trying to adapt the mobile template to the 2009 Elxis.  I have not changed any php code.

Title: Re: 2009 menu problem
Post by: datahell on March 06, 2013, 13:36:58
How can I set the alts to either empty?

Quote from: datahell
If the alt attribute is empty the code is invalid...
Title: Re: 2009 menu problem
Post by: xmanhattan on March 06, 2013, 19:22:03
Maybe I am not expressing myself correctly. 

Here is the css:
Code: [Select]
nav ul.menu {
margin:0;
padding:0;
}
nav li {
float:left;
display:inline-block;
list-style-type:none;
width:50%;
}
nav li a {
display:block;
padding:1em;
text-align:center;
border-bottom:1px solid #e5e5e5;
}
nav li a:nth-child(odd) {
border-right:1px solid #e5e5e5;
}

Here is what I am seeing.



Title: Re: 2009 menu problem
Post by: datahell on March 06, 2013, 19:36:01
The indent image doesn't exist. See the html source code to find put the image that is missing.
Title: Re: 2009 menu problem
Post by: xmanhattan on March 07, 2013, 09:59:30
Okay, I thougth that it could be done without the image.
Title: Re: 2009 menu problem
Post by: CREATIVE Options on March 07, 2013, 10:30:25
 xmanhattan, also check the options in the module for this menu, there is option to set indent image without css.
Title: Re: 2009 menu problem
Post by: xmanhattan on March 07, 2013, 11:57:13
Jeeeez, I missed that.  Indent Image: set to none, now.

Thanks to everyone.
Title: Re: 2009 menu problem
Post by: CREATIVE Options on March 07, 2013, 15:58:44
Welcome ;)