New Landing How can we help? Themeforest Theme Support Flexform Remove page title header in woocommerce shop pages?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Flexform
  • #1350
    jkevg123
    Member

    I’ve disabled the page headers in the Flexform settings, but it still shows up on all the shop pages. Can’t figure out how to disable it in the shop pages. Is there a way to do that? Why doesn’t that setting affect the shop pages?

    Thanks.

    #2367
    slcmyers
    Member
    Post count: 40

    I am having the same problem. Anyone have a solution yet??

    #2369
    Charlie999
    Member
    Post count: 92

    Hi

    If you want to remove them the simplest way is to uncomment them from the php files. I know the developers never recommend to do this because the theme updates, but if you save a copy from the original files and remember what you did, maybe it’s ok.

    Anyway, here’s how.

    in wp-content/plugins/woocommerce/woocommerce-template.php on line 43 uncomment this:

    <!---->

    and in wp-content/themes/flexform/archive-product.php on line 35-37 uncomment this:

    <!--<div class="page-heading span12 clearfix alt-bg ">

    -->

    Note: I use Flexform version 1.2 and WooCommerce version 2+ so if you not have those version, maybe the line numbers is different.

    Cheers, Charlie!

    #2370
    Charlie999
    Member
    Post count: 92

    Sorry for the earlier post, this does not let me to paste the code here, so if you look at those files, near the line 43 in woocommerce-templates.php you will find that title code.
    And in flexform/archive-product.php from lines 35-37, be sure to uncomment from the div tags, one before and one after.

    Hope you will find it.

    #2371
    slcmyers
    Member
    Post count: 40

    So I should not uncomment those. I just want to double check. Thanks again

    #2373
    Charlie999
    Member
    Post count: 92

    The code in earlier post is not complete because it did not allow me to past it there, but just uncomment those title codes from those files, i have done that and it works, but be sure you save a copy from original files.

    #2535
    Cosmin – SUPPORT
    Member
    Post count: 3851

    That should do it, yes.

    For posting code here: use pre tags in the Text view (code tags mess up the code, ironically, I know…)

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #2537
    slcmyers
    Member
    Post count: 40
    This reply has been marked as private.
    #2562
    slcmyers
    Member
    Post count: 40

    Actually I am okay with the page header being there I just wish I could remove the breadcrumbs area or find a way to remove the line under breadcrumbs in general so I don’t have that extra line.

    #2698
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    It depends what pages you don’t want it to be on. For the shop product archives it would be:

    .woocommerce.archive .page-heading {
    display: none;
    }
    

    For the breadcrumbs globally on WooCommerce:

    .woocommerce .breadcrumbs-wrap {
    display: none;
    }
    

    – Ed

    #2734
    slcmyers
    Member
    Post count: 40

    Thank you, that works

    #2736
    slcmyers
    Member
    Post count: 40

    I would mark this resolved.

    #2867
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Marked as resolved 🙂

    – Ed

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register