• Hi there,
    I’ve just recently installed WordPress and I’m slowly figuring out how everything works. However, I have no clue what so ever how to code and it seems like the only way for me to center the site navigation menu on my site is via the style.css.

    I would really appreciate it if somebody could walk me through this process as I’ve tried searching the web and implementing the various strategies shown to me but to no avail.

    My theme: Fresh Ink Magazine 1.06 by Adazing Web Design

    Thanks

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter Aclizzy

    (@aclizzy)

    No, I haven’t figured it out at all and I followed all your instructions. I’ve put the default code back for now. As it was looking extremely messy.
    Do you have any other suggestions or do you think I should change theme?
    I wanted to center the site nav menu because I hate it when its on the left.

    Sorry I am with you now. – You want to center the menu. Its the advice from Samuel B. that was confusing.

    Find this:

    #menu ul {
    float: left;
    position: relative;
    }

    Delete:
    float: left;

    Instead:

    margin: 0 auto;

    Should work fine… this time ??

    Theme wise – definitely change it. I would recommend just using the twentyelven theme.

    Its far better. But you have to get quite good at HTML and CSS if you want to make changes.

    Thread Starter Aclizzy

    (@aclizzy)

    Pixelrow, I’m really grateful that your helping ??
    Unfortunately, I did exactly what you said but it didn’t change.
    I scrolled quite far down to find #menu ul{. I then deleted float left and replaced with margin: etc . I then pressed update file and refreshed my website.
    Still no change ??

    I am not sure why that didn’t work…..

    Try adding it here
    #greendrop ul {
    margin-top: 0.5em;
    }

    or with the previous – add the float:left – and then add margin: 0 auto;

    Thread Starter Aclizzy

    (@aclizzy)

    your right, there is a massive learning curve when it comes to html and Css but this is literally the only thing I want to change on the majority of themes I try as it really bugs me.
    Maybe if I choose another theme, your methods will enable me to change the site navigation menu where all the pages are ‘Home, about me etcetc’.

    I think THIS TIME I have definitely spotted your problem

    Its this bit of code.

    #greendrop {
    display: block;
    float: left;
    margin: 0 auto;
    position: relative;
    text-transform: uppercase;
    }

    Delete this:
    float: left;

    Thread Starter Aclizzy

    (@aclizzy)

    oooh when I did the greendrop ul thing …

    #greendrop ul {
    margin-top: 0.5em;
    margin: 0 auto;

    it caused the menu to go up a bit… like it actually changed the site nav menu but it didn’t center it??
    So I think we are getting there
    I’ll try the other method now

    Thread Starter Aclizzy

    (@aclizzy)

    Okay I set default again.
    then I deleted float left from this section.

    #greendrop {
    display: block;
    text-transform: uppercase;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    position: relative;

    Still nothing
    All this coding is ridiculously confusing, I’m starting to think maybe I’m doing it wrong. Is there anyway I can create a new user and you can try and sort it?

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘how do I centre the site navigation menu?? Please help!’ is closed to new replies.