WordPress.org

Ready to get started?Download WordPress

Forums

Pilot Fish
[resolved] Center menu (12 posts)

  1. dunkelbunt
    Member
    Posted 10 months ago #

    Hey there,

    I've been trying now for hours to center the menu of Pilot Fish. I've seen the topic posted here earlier but none of the 'margin: auto' hints seem to work. In fact - there are not that many margins left where I haven't tried adding an auto command...

    My understanding of CSS is very basic, admittedly - and there is something I am not grasping... Please help me finding out what it is... :)

    Thanks in advance and cheers,
    me.

  2. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 10 months ago #

    Let's see your site please.

  3. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 10 months ago #

    So you've come across suggestions for a Child Theme or Custom CSS plugin, right? Which do you have?

  4. dunkelbunt
    Member
    Posted 10 months ago #

    Mh... I was so sure I'd enabled email notification for this thread. Sorry for not answering in a timely manner...

    I'm really sorry, but atm I don't want to publish the sites url yet. :/

    Rereading my original question, I am not sure if it becomes clear that I actually mean the menu on Home (below page title, the 'Home | About | Parent Page' part). So... all suggestions I tried to follow concerned the Pilot Fish theme.

    I hope there is a way to help even without looking at my site - it hasn't been customized a lot anyway.

    Thanks for trying to help, Andrew! :)

  5. dunkelbunt
    Member
    Posted 9 months ago #

    Okay... it's me again... I am sorry, but I really would appreciate help on this.

    For no good reason I hadn't found until now these FAQs:
    http://wordpress.danielatwork.com/pilotfish/faq/

    So I reset the style.css back to the original and did the proposed changes - and nothing happened. Nothing was centered like it was supposed to...

    :/

  6. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 9 months ago #

    I'm really sorry, but atm I don't want to publish the sites url yet. :/

    That's disadvantaging you greatly from receiving support.

  7. dunkelbunt
    Member
    Posted 9 months ago #

    I don't want to be impolite but... since I haven't changed anything major in the style.css and it isn't working with the original css as well...

    Mh... I guess, I'll give up. Thanks anyway for your patience.

  8. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    Do you have a custom CSS plugin added?

    IF so, try adding this there:

    #access .menu, #access .menu ul {
        display: table;
        margin: 0 auto;
    }

    Not sure it will work without seeing your site...

  9. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 9 months ago #

    since I haven't changed anything major in the style.css and it isn't working with the original css as well.

    Then you can demonstrate the issue by linking the demo website (if the demo site is the same as yours).

    The issue we see is that you said you've tried the common CSS techniques of centering the menu and it has not worked, which leads us to think something is different about your website in particular.

    By linking your site, we will be able to debug why the CSS you have used to center the menu has not worked.

  10. dunkelbunt
    Member
    Posted 9 months ago #

    Good morning,

    @WPyogi: I have no custom CSS plugin added... but... I added your code to both #'s in the Pilot Fish CSS and it worked. :) Thanks so much!

    @Andrew: Wouldn't the demo site not just be the Pilot Fish demo? So I would link this, right?

    http://wordpress.danielatwork.com/pilotfish/

    I understand the issue, but - although very flattering - I think the major mistake was to assume that I know common CSS techniques and fully understand what I am doing. :) The code WPyogi suggested looks to me very common but I just wasn't aware of that display-table-thingy and that it needs to be there (which seems to be the difference to what I'd tried before).

    So... I just marked this topic as resolved, the site looks beautiful now and I am really grateful for your commitment and patience! Thank you!

  11. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    I have no custom CSS plugin added... but... I added your code to both #'s in the Pilot Fish CSS and it worked. :)

    Changing theme files is not smart - your changes will be overwritten when the theme is updated. You can easily add custom CSS via a plugin such as Custom CSS Manager.

  12. dunkelbunt
    Member
    Posted 9 months ago #

    Thanks for mentioning... So far, I have always saved the CSS (and the other) files of a theme before updating anything. In this case, I don't think, anything will be updated in nearer future - the page is more of static nature.

    But... I'll look up that Custom CSS Manager anyway - for future stuff and just because learning more about how WP works best is somehow usefull, I guess. :)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.