• Hi guys,

    I’ve just had a mate put together a theme for me which I’ve been fiddling with (as a complete CSS novice), having a few issues with the menus though.

    Firstly, the biggest issue, in the control panel if I have more than 20 items total in the list and try and save it I get a nav-menus.php access forbidden.

    Secondly, from what I can make out, the rollover height for child menus is the same as for the top level menu, but as the text in the child menus is shorter, rolling over them creates a spacing issue.

    Finally, I’d ideally like the spacing of the dropdown menus to be the same as the width of the menu it’s dropping down from (unless an item on the child menu is wider, in which case I’d like it to expand to the right to accommodate the item on one line). All I’ve been able to find so far is a set column width.

    The site in question is http://www.boshmagazine.co.uk/Bristol

    And the menu CSS:

    [CSS moderated as per the Forum Rules.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • if I have more than 20 items total in the list and try and save it I get a nav-menus.php access forbidden.

    This is almost certainly a server issue. See http://core.trac.wordpress.org/ticket/14134

    Thread Starter jbradley87

    (@jbradley87)

    Yeah I’d just found that article recently. I’ve pulled up the error logs from my server and traced it to this:

    ModSecurity: Access denied with code 403 (phase 2). Operator GT matched 255 at ARGS. [file "/etc/modsecurity/modsecurity_crs_23_request_limits.conf"] [line "28"] [id "960335"] [msg "Too many arguments in request"] [severity "WARNING"] [hostname "www.boshmagazine.co.uk"] [uri "/Bristol/wp-admin/nav-menus.php"] [unique_id "T@b8F9mokG8AAFfuI-AAAAAO"]

    Though when I ftp in there’s no /etc folder? I’ve got anon_ftp, bin, cgi-bin, conf, error_docs, httpdocs, httpsdocs, pd, private, statistics, subdomains & web_users. What am I missing??

    Oh – now that’s slightly different (although still a server issue). You might want to contact your hosts and send them a copy of that error log entry. Looks like their mod_security settings are causing the problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Menu Customisation’ is closed to new replies.