Product Title above and breadcrumb as a preference

This topic has 8 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Eva Kemp

  • Avatar: ky
    kybalio
    Participant
    August 31, 2015 at 12:20

    Hi Jack and Eva,

    Can you help with this please?

    You kindly adjusted my sites Page Titles to be left aligned and for the breadcrumb to be below it, however, this wasn’t done for product pages. I’m sure it’s just a css tweak, here’s an eg page:

    http://werone.co/eng/product/gold-milk-for-anti-inflammation-and-pain-relief-30-caps/

    Best regards

    Kybalio

    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 31, 2015 at 14:06

    Hello,

    We see your page as distorted. Design is corrupted.
    Have you made any changes?

    Best regards,
    Jack Richardson.

    Avatar: ky
    kybalio
    Participant
    August 31, 2015 at 23:31

    Thanks Jack,

    Every few days the file called pluggable.php in wp-includes stops working, I upload the copy again and it works, I’m not sure why, but it’s working again 🙂

    Please try again..

    Ky

    Avatar: Eva
    Eva Kemp
    Support staff
    September 1, 2015 at 11:14

    Hello,

    I’ve edited the file wp-content/themes/woopress/woocommerce/global/breadcrumb.php, commented the code in line 64 and added it in line 28.:

    <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
    <h1 class="title">
    <?php if(is_single() && ! is_attachment()): ?>
    <?php echo get_the_title(); ?>
    <?php else: ?>
    <?php woocommerce_page_title(); ?>
    <?php endif; ?>
    </h1>
    <?php endif; ?>

    Please check product page now.

    Regards,
    Eva Kemp.

    Avatar: ky
    kybalio
    Participant
    September 1, 2015 at 11:23

    that’s great! thanks Eva, Product are fine now, but the Posts have a different Title wrapping problem now, and so does the cart page;

    Post
    http://werone.co/eng/2014/12/05/protein_myth/

    Cart
    http://werone.co/eng/cart/

    regards

    Ky

    Avatar: Eva
    Eva Kemp
    Support staff
    September 1, 2015 at 12:28

    Hello,

    I’ve moved the code <?php etheme_breadcrumbs(); ?> to line 774 in the file wp-content/themes/woopress/framework/theme-functions.php.
    Also add this code in custom.css:

    .breadcrumbs {
      margin: 4px 17px 0px;
    }

    Regards,
    Eva Kemp.

    Avatar: ky
    kybalio
    Participant
    September 1, 2015 at 13:29

    thanks Eva

    There’s still a problem below, I noted that the custom.css

    .breadcrumbs {
    margin: 4px 17px 0px;
    }

    wasn’t added it so I added it , but the Products still have a problem with the title:

    see
    http://werone.co/eng/product/maf-maker-probiotic-mix-makes-2-litres/

    Any ideas?

    Thanks!

    Ky

    Avatar: Eva
    Eva Kemp
    Support staff
    September 1, 2015 at 14:17

    Hello,

    Please add this code in custom.css:

    .page-heading .woocommerce-breadcrumb {
       margin-left: -14px;
    }

    Regards,
    Eva Kemp.

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