WP Framework Forums

A blank WordPress Theme Framework

Register or log in - lost password?

WP Framework Forums » General Discussion

Centering the menu items

(3 posts) (1 voice)
  • Started 5 months ago by ailusia
  • Latest reply from ailusia
  • Related Topics:
    1. Adding a background image
    2. 2 things in a header div
    3. Image map
    4. How can I assign CSS background images in WPF?
    5. How can I actually modifiy the sidebar's CSS?

Tags:

  • center
  • css
  • menu items
  1. ailusia
    Member

    (I decided to create a new thread, maybe will be more useful for others.)

    There is a menu at the bottom of this website:
    http://klikerlab.pl/wordpress/
    and I'm trying to center its content, just like in the footer. So I wrote:

    .nav ul { width: 80%; margin-left: auto; margin-right: auto; }
    but the browser ignored it. Firebug doesn't see this line, it sees only .nav class. So I added the 80% width here:

    /* Lists: (ul, ol, dl) */
    ul, ol, dl { margin-left: 15px; }
    .nav { margin-left: auto; margin-right: auto; width: 80% }

    and it shrinks somehow to the center, but the menu items stay aligned to the left (with margin), and the border shrinks too :(
    I don't need the width to be 80%, but I was told that this could make it work, because the ul needs width.

    Posted 5 months ago #
  2. ailusia
    Member

    My menu has another problem - that only latest Firefox displays it correctly... more or less. What can I change, except the stylesheet, to make it work better?

    Posted 5 months ago #
  3. ailusia
    Member

    Update - it's now here: http://klikerlab.pl

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

WP Framework Forums is proudly powered by bbPress.