Change bredcrumb separator, hide add to cart, change title of social….

This topic has 4 replies, 2 voices, and was last updated 6 years, 1 month ago ago by Rose Tyler

  • Avatar: mattiash
    mattiash
    Participant
    February 14, 2018 at 01:57

    Hey,

    1. How can I change the bredcrumb separator symbol? It is currently a forward slash Home/Shop/Products. How can I change it to “–>”?

    2. How do I change the “share-title” under the single product page? Currently it just says “Social”. Id like to change that to something more catchy.

    3. How can I hide the add to cart buttom in the header when the cart is empty? Supposedly should be under settings in wocommerce but it’s not visible for me there.

    4. How can I move the “Return to previous page” on the Single Product Page to be on the left side instead of the right side?

    I just updated to the latest versions in woocommerce and legenda.

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2018 at 10:32

    Hello,

    1. To change the separator on woocommerce pages, you need to find woocommerce_breadcrumb function -> http://prntscr.com/ieiolq
    https://github.com/woocommerce/woocommerce/blob/master/includes/wc-template-functions.php
    and copy this to functions.php file of child theme,
    To change this for default pages (portfolio, posts, etc) – legenda/framework/theme-functions.php ‘etheme_breadcrumbs’ http://prntscr.com/ieivp2 http://prntscr.com/ieiqz7
    and make changes in the functin also via child theme.
    2. You can use translation files and use translation filed just to change the text. Loco translate plugin will help you to do this in no time http://xstore.helpscoutdocs.com/article/30-base-theme-translation (the same for legenda theme).
    3. Please provide a screenshot for better understanding.
    4.

    .single-product .page-heading .row-fluid .span12 .back-to {
        left: 0;
        right:  auto;
    }
    

    Regards

    Avatar: mattiash
    mattiash
    Participant
    February 20, 2018 at 11:36

    Thanks I got it sorted for 1 and 4.
    2. Is there another way than using a the translation files? If no, how do I do it with the Loco plugin. I selected the woocommerce plugin but I can’t find the text there. Which one should I select?

    3. I decided to keep it as it is 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 20, 2018 at 11:45

    Hello,

    You’re welcome!
    2. You need to search the text in Legenda theme via Loco Translate, for example, https://prnt.sc/ih9k3e
    Feel free to ask if you have any other questions.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 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.