Change link from logo - by fredwerk - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp

  • Avatar: fredwerk
    fredwerk
    Participant
    May 15, 2015 at 16:28

    Hi,

    On http://queverenedimburgo.com/extranet/my-account site I have the logo top left. When I click on, it sends me to http://queverenedimburgo.com/extranet – How can I change the link so it send me to http://queverenedimburgo.com/extranet/my-account/?

    And the same for the 2 other languages, so it will send me to the http://queverenedimburgo.com/extranet/my-account?lang=es and http://queverenedimburgo.com/extranet/my-account?lang=it

    Thanks,

    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 15, 2015 at 17:13

    Hello,

    You can refer to WPML forum for the solution:
    https://wpml.org/forums/topic/change-the-image-and-link-on-the-logo-in-the-header/

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    May 15, 2015 at 18:13

    Hi,

    I checked what you advised, and I assume the link is not hard coded in the theme so I check the Strings Translations and I couldn’t find the link to translate.

    Avatar: Eva
    Eva Kemp
    Support staff
    May 15, 2015 at 18:21

    Hello,

    You can try the second solution:
    2) If the link is hard-coded, directly in the theme file. One possibility would be to utilize the wpml language constant “ICL_LANGUAGE_CODE” –
    http://wpml.org/documentation/support/wpml-coding-api/

    http://wpml.org/forums/topic/header-image-change-with-wpml/

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    May 15, 2015 at 18:29

    Hi thanks,

    I have added another item in the menu “MY ACCOUNT”, and I would like it to be a different colour in order to differentiate it from the other menu items.

    Thanks,

    Avatar: Eva
    Eva Kemp
    Support staff
    May 15, 2015 at 19:12

    Hello,

    Please add this code in custom.css of the parent theme or style.css of the child theme:

    li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-908 > a {
      color: red;
    }

    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    May 15, 2015 at 20:27

    Hi,

    This works fine however the Spanish and Italian versions are not red and I would like them red as well.

    Thanks,

    Avatar: fredwerk
    fredwerk
    Participant
    May 16, 2015 at 10:13

    Hi,

    No worries, I managed to find the menu items ID in order to apply the colour.

    Thanks,

    Avatar: Eva
    Eva Kemp
    Support staff
    May 16, 2015 at 11:36

    Hello,

    That’s great.
    If there are any questions feel free to contact us.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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