WordPress.org

Ready to get started?Download WordPress

Forums

Codium: Changing width of menu bar. (6 posts)

  1. AdamStromstedt
    Member
    Posted 1 year ago #

    Hi!

    I'm having troubles finding where to change the width of my menu-bar.
    Since I changed the whole layout to 770px insted of 980px I want the menu to follow that instructions but it's still 980px wide.

    How do I do this?

    You can find the page I'm working on here: http://professionsutveckling.se

    Sincerely,
    Adam

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Appears to be set in internal (in the head of your page) CSS here:

    #access {
        background: none repeat scroll 0 0 #F1F2F4;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        display: block;
        float: left;
        margin: 0 auto;
        text-transform: uppercase;
        width: 980px;
    }
  3. AdamStromstedt
    Member
    Posted 1 year ago #

    Thans Wpyogi!

    Mine doesn't look the same way:

    #access{background:#f29400;display:block;float:left;margin:0 auto;text-transform: uppercase;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;padding-right:-20px;}

  4. Marvel Labs
    Member
    Posted 1 year ago #

    Dear Adam.

    Just add width:770px in #access

    or copy paste this,

    #access{background:#f29400;display:block;width:770px;float:left;margin:0 auto;text-transform: uppercase;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;padding-right:-20px;}

  5. AdamStromstedt
    Member
    Posted 1 year ago #

    Thanks Royalprince!

    I've tried almost everything now and it still doesn't work, the width of the menu is still the same. What's wrong with this?

    Now it looks like this:
    #access{background:#f29400;display:block;width:770px;float:left;margin:0 auto;text-transform: uppercase;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;padding-right:-20px;}

    Any help I can get is worth while!

    //A

  6. Adam,

    Please don't bump your posts or sign your posts, and use the backticks for code, not quotes :)

Topic Closed

This topic has been closed to new replies.

About this Topic