Elxis CMS Forum

Support => General => Topic started by: xmanhattan on July 24, 2008, 18:30:21

Title: menu problem with separator - placeholder
Post by: xmanhattan on July 24, 2008, 18:30:21
Hello all,

I just tried adding 2 separators and seem to have a problem, maybe it's something that I am doing wrong.

I added the first 1st replacing the ------ with a # before a LINK CONTENT ITEM and then a 2nd one after that but when I refreshed my screen, the separators were on the same line with the LINK CONTENT ITEM menu name.

Any suggestions, work arounds?

Petros
Title: Re: menu problem with separator - placeholder
Post by: Farhad Sakhaei on July 24, 2008, 19:01:16
Please give us a link
Title: Re: menu problem with separator - placeholder
Post by: xmanhattan on July 26, 2008, 18:17:56
Hello Farhad,

This server is my local linux server.
http://xmanhattan.homelinux.com (http://xmanhattan.homelinux.com)

I hope that you will be able to see the problem but if not, the links are showing up like:
- - - - - - -1 BUSINESS- - - - - - -2
These are 3 separate entries that are simply displayed on the menu all on one line.

What I would like to do is to have it look like the main menu here if possible:
http://www.bournias.net/ (http://www.bournias.net/)

Petros
Title: Re: menu problem with separator - placeholder
Post by: xmanhattan on July 27, 2008, 11:59:35
This is the code that is being produced, from the source.

<span class="mainlevel">- - - - - - -1</span>
<span class="mainlevel">BUSINESS</span>
<span class="mainlevel">- - - - - - -2</span>

So why doesn't the separator have a line break?

Title: Re: menu problem with separator - placeholder
Post by: datahell on July 27, 2008, 14:44:43
The "span" html element by default is being displayed inline. You should make it in your template css to be displayed as block.

span.mainlevel { display: block; }

In the default Elxis 2008.x template "okto" works fine.
Title: Re: menu problem with separator - placeholder
Post by: xmanhattan on July 27, 2008, 17:24:52
That did it.  I don't know why it didn't work as I am using OKTO as the basis.

Ευχαριστω!