Translated menu not centered - by lucio - on WordPress WooCommerce support

This topic has 20 replies, 4 voices, and was last updated 10 years, 2 months ago ago by Eva Kemp

  • Avatar: lucio
    lucio
    Participant
    September 9, 2014 at 00:01

    Hi,
    can you suggest any reason why the main menu (using # 5) is centered in the English version but left justified in the Spanish translation??

    See here: English Menu and Spanish Menu

    Please help out…. Thanks

    19 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 9, 2014 at 07:46

    Hello,

    Try to use text-align:center for this menu.

    Regards,
    Robert Hall.

    Avatar: lucio
    lucio
    Participant
    September 9, 2014 at 16:18

    Please, I did that before asking your help.

    Nope, it does not budge it at all….

    I made sure that both EN and ES have the same settings in the Header tab in Theme Options…. they do.

    Here are the links for both… please check it out.

    ENGLISH and SPANISH

    Waiting for your input. Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    September 9, 2014 at 18:27

    Hello,

    Please try to use this code in custom.css file:
    .menu-main-menu-spanish0-container {float: none !important;}

    Regards,
    Eva Kemp.

    Avatar: lucio
    lucio
    Participant
    September 9, 2014 at 21:32

    Nope or nada as they say around here!

    For some reason it wont be affected by applying your suggestion in ../themes/legenda-child/style.css

    .menu-main-menu-spanish0-container {float: none !important;}

    The only way I can budge the Spanish menu from its left pos is in

    ../wp-content/themes/legenda/css/large-resolution.css

    altering the “span” class… of course this breaks the layout so it is not a solution…

    [class*=”span”] {float: none;}

    Can you suggest a proper solution, please. Thank you.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 10, 2014 at 07:19

    Hello,

    Add this code into style.css of the Child Theme.

    .menu-main-menu-spanish0-container {
    width:1170px;
    }

    Regards,
    Robert Hall.

    Avatar: lucio
    lucio
    Participant
    September 10, 2014 at 14:54

    No, Robert, that wont work either….

    Hoping this can avoid further (obvious) css tweaks, I have here 2 more screenshots showing the html/css that trigger the menu in each language. Please check them up and see if it helps you guys find a proper solution.

    EN MENU HTML and ES MENU HTML

    I am also opening another topic regarding the translation of image in Full Width menu, another can of worms, in my opinion…

    Thanks

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 10, 2014 at 17:26

    Hello,

    Please provide us with wp-admin credentials in Private Content and we’ll fix the issue.

    Regards,
    Jack Richardson

    Avatar: lucio
    lucio
    Participant
    September 10, 2014 at 21:07

    here it is

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 10, 2014 at 21:34

    Hello,

    You need to add the following code into the style.css of your child theme:

    .menu-main-menu-spanish0-container {
      float: none !important;
    }

    Regards,
    Jack Richardson

    Avatar: lucio
    lucio
    Participant
    September 10, 2014 at 22:50

    Still no go, Jack.

    I bought the theme not just cause it looked good (it does!) but being able to translate it seamlessly as well.

    I have another topic open at this moment also concerning the display of translated menu.

    Please find a solution that works… you’ve got admin access, if you need FTP login, you have in private content area

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    September 11, 2014 at 13:21

    Hello,

    I’ve just tried to open Editor in wp-admin panel > Appearance and got this error:
    Fatal error: Out of memory (allocated 88866816) (tried to allocate 32 bytes) in /homepages/31/d531687296/htdocs/wp-content/plugins/sitepress-multilingual-cms/lib/xml2array.php on line 34
    Please contact your hosting provider and ask them in increase memory limit.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: lucio
    lucio
    Participant
    September 11, 2014 at 18:37

    I have noticed that occurrence and I have requested a server upgrade, which should be done within hours.

    Still, I have php memory_limit 80M and it seems incredible that more memory would be needed….

    Regardless, that has got nothing to do with why the menu is not centered.

    So, please lets stick to the reason for this topic…. Can you fix the Spanish menu alignment, please?

    Thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    September 11, 2014 at 19:57

    Hello,

    The reason is when trying to make changes and save them in wp-admin panel the error occurs. So changes can’t be saved.
    In this case please ask your host to increase memory value at least to 126M.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: lucio
    lucio
    Participant
    September 11, 2014 at 20:26

    Actually, after giving the error, when you get back to prev page, it does say that the menu has been changed… Right now I have increased the memory allotment to 128mb.

    Within hour I’ll be able to increase it further…. let’s see then.

    In any case, you’ll hear from me again.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 11, 2014 at 21:38

    Hello,

    Ok, looking forward to your reply.

    Regards,
    Eva Kemp.

    Avatar: lucio
    lucio
    Participant
    September 12, 2014 at 14:14

    Hi,
    I just got upgraded to 256Mb of memory_limit.
    I still get a memory error while trying to save the Spanish menu. The reason IS NOT because of lacking memory.
    The error is due to the WPML Woocommerce Multilingual plugin “objecting” to translating the menu manually.

    I am now convinced that there are problems with translating the Legenda Menu and I formally ask you to demonstrate that it does work by providing a link to a multilingual installation of the Legenda Theme.

    Furthermore, I just updated WooCommerce to the latest 2.2 and I got this Warning:

    “Your theme has bundled outdated copies of WooCommerce template files – if you encounter functionality issues on the frontend this be could the reason. Ensure you update or remove them (in general we recommend only bundling the template files you actually need to customize).”

    These are the files:
    form-coupon.php version 1.6.4 is out of date. The core version is 2.2
    thankyou.php version 2.0.0 is out of date. The core version is 2.2.0
    pagination.php version 2.0.0 is out of date. The core version is 2.2.0
    my-orders.php version 2.1.2 is out of date. The core version is 2.2.0

    Please let’s find a solution to this topic.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 12, 2014 at 15:45

    Hello,

    We’re sorry for inconveniences.
    During the next week we’ll release a new theme update where these problems will be resolved.
    Please wait a little.
    Thank you for your patience.

    Regards,
    Eva Kemp.

    Avatar: lucio
    lucio
    Participant
    September 12, 2014 at 16:09

    Eva, you could have told me that to start with…

    Anyway, let’s hope all this back and forth ends up well.

    Am waiting for the new release…

    Avatar: Eva
    Eva Kemp
    Support staff
    September 12, 2014 at 16:21

    Thank you for being patient.
    Again we’re sorry for the troubles you’re experiencing.

    Regards,
    Eva Kemp.

  • Viewing 20 results - 1 through 20 (of 20 total)

The issue related to '‘Translated menu not centered’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.