Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is a method to hide the breadcrumbs by adding this code to custom.css :

    .home #breadcrumbs {
        display: none;
    }

    This is not recommended. What it does is just hide the text. But the breadcrumbs are still executed, so you still get a huge blank empty space gap which represented the breadcrumbs. It is not good enough. Editing the functions.php as described below is preferred.

    Okay, I am made to understand that if you want to remove breadcrumbs, ONLY from your homepage add one of this to your functions.php:

    Option 1: If you are using a default homepage, use this:

    if ( is_home() ) {
         remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
    }

    Option 2: If you are using a static page , use this:

    if ( is_front_page() ) {
         remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
    }

    I am using a static page. I tried the code above, but it doesn’t work.
    It is supposed to work, according to all WordPress help documents, it is supposed to return “true” that it is a static page and then execute the remove breadcrumbs. But it doesn’t work. The static page I used has no title, as this was done to prevent getting 2 Home button on the Top Menu. I tried a different static page with a title, but it still didn’t work.

    So, any better tricks?

    Thread Starter lokgp

    (@lokgp)

    And I got a reply from ShareYourCart.

    That you should either use:
    1. The plugin only.
    or
    2. The footer sniplet only.
    and
    3. Never use both at the same time.

    I ended up using the footer sniplet only.

    #sidebar-name .widget {
    float: left;
    width: 80%;
    }

    This code: Doesn’t work.Don’t try.
    I pasted it on custom.css file.

    Thread Starter lokgp

    (@lokgp)

    I sent an email to Woothemes and they reply:

    Please make sure that you have already updated your product to the latest version (we’re going to ask you to do this), disabled all 3rd party plugins (we’re going to ask you to do this too), and read our Support Policy.

    So I did that and found that the plugin ShareYourCart is causing this problem as soon as I have de-activate it and refreshed my web browser. I have uninstalled it for now, and removed its footer.php sniplet codes.

    Thread Starter lokgp

    (@lokgp)

    Here is my product page: https://wallart.my/product/pond-with-water-lilies/

    The variation price and add to cart button should be just right below the Discount button. And the “Product Description/Additional Information/ Review” form used to be in tabs, and did not line up down on the page. After I did the upgrades, the formats has changed.

    It would be a great help if someone can help me out with this. Many thanks. And appreciated.

    Regards,
    Lok

Viewing 5 replies - 1 through 5 (of 5 total)