Universal CSS Navigation Menu Support Product Page

Answered

DMX Menu

Asked 13 Oct 2014 01:23:46
1
has this question
13 Oct 2014 01:23:46 Chuck Borrelli posted:
On the DMX Menu at the top, I want to center the black menu on the page, but cannot.

Any suggestions:

perchpub.com/index2014.php

Replies

Replied 14 Oct 2014 11:06:04
14 Oct 2014 11:06:04 Teodor Kuduschiev replied:
Hello Chuck,
I see you added some inline styles, which are actually doing nothing, as the element is floated..
In order to do this for the current menu, in your custom css file add:

#ppMainMenu.dmxNavigationMenu ul.horizontal {
    width: 705px;
    margin-left: 50%;
    left: -302px;
    position: relative;
}

Replied 17 Oct 2014 09:58:54
17 Oct 2014 09:58:54 Chuck Borrelli replied:
Hi,

Thanks for the response. I made the changes, but it is still not working
Replied 17 Oct 2014 10:04:32
17 Oct 2014 10:04:32 Teodor Kuduschiev replied:
In your CSS you added:
#ppMainMenu. dmxNavigationMenu ul.horizontal {
instead of
#ppMainMenu.dmxNavigationMenu ul.horizontal {
There shouldn't be an empty space between the id and the class.
Replied 09 Nov 2014 21:56:13
09 Nov 2014 21:56:13 Chuck Borrelli replied:
This does not work. 1
1- I think you meant 302px, not -302px

In addition, it does not center the menu. It just spaces it 302 pixels from the left. If the page is really wide, the menu is on the left.
Replied 10 Nov 2014 08:56:51
10 Nov 2014 08:56:51 Teodor Kuduschiev replied:
Hi Chuck,
No i did not mean 302px but exactly -302px...
Also i notice your layout or at least the top nav part has changed. The code i provided was working fine with your previous nav style...

Reply to this topic