Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #554853

    Hi:

    The pagination on the top of my store has lost it’s links to the page, when you click on the page number it no longer goes to that page. The ones on the bottom still work. Is there a fix for that?

    http://ilovetylermadison.biz/shop/

    From this topic, https://kriesi.at/support/topic/enfold-woocommerce-storefront-modification/, I had used this code from Ismael to arrange the layout:

    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {
    position: absolute;
    right: 50px;
    }

    I just now noticed the linking no longer worked. Hope you can help.

    Thanks

    – Michael

    #555467

    Hey blaircomm!

    It looks like your using Enfold 3.3.1. Go ahead and update to the latest version, 3.4.7 and let us know when your done.

    Be sure to deactivate all plugins while testing.

    Best regards,
    Elliott

    #556231

    I have updated everything. WP is 4.4, and Enfold updates as well as WooCommerce and WPML. Still the same issue.

    This is the code I used to place the pagination at the top of the product page:

    add_action( ‘woocommerce_before_shop_loop’, ‘enfold_customization_shop_pagination’, 10);
    function enfold_customization_shop_pagination()
    {
    global $avia_config;
    if(isset($avia_config[‘dynamic_template’])) return;
    if(isset($avia_config[‘overview’] )) echo avia_pagination(”, ‘nav’);
    }

    This was the code I used to arrange the layout:

    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {
    position: absolute;
    right: 50px;
    }

    • This reply was modified 9 years ago by blaircomm.
    #556809

    Hi:

    This is the code from the bottom pagination that is missing on the top of page pagination:

    <nav class=’pagination’><span class=’pagination-meta’>Page 1 of 5</span><span class=’current’>1</span>2345</nav>

    The nav class classes ‘pagination’ and pagination-meta’ are missing. I can hack them into the script, and it works, but it places the pagination out of the frame—i.e. above sidebar and 2/3 page frame with a big space down to the storefront—and gives an error in the code inspector, though it works on the user side.

    So the interacrtivity of the pagination at the top seems to be because of missing classes within the equation, and I don’t know how to include them properly.

    Any help? This equation needs rewriting to include the interactivity from ‘pagination’ and ‘pagination-meta’:

    add_action( ‘woocommerce_before_shop_loop’, ‘enfold_customization_shop_pagination’, 10);
    function enfold_customization_shop_pagination()
    {
    global $avia_config;
    if(isset($avia_config[‘dynamic_template’])) return;
    if(isset($avia_config[‘overview’] )) echo avia_pagination(”, ‘nav’);
    }

    Thanks.

    – Michael

    #557236

    Hi!

    What is the username for the login?

    Best regards,
    Elliott

    #557254

    Hi:

    See below:

    #557630

    Hi!

    Add this to your custom CSS.

    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {
        z-index: 99999 !important;
    }

    Cheers!
    Elliott

    #557881

    Thank you very much!

    I now have it all working perfectly, and here is the code in one place, just in case anyone else wants to add pagination in a neat, nice layout at the top of their storefront—essential for large stores:

    Add snippet—I prefer a snippet plugin so as to not modify theme files:

    add_action( ‘woocommerce_before_shop_loop’, ‘enfold_customization_shop_pagination’, 10);
    function enfold_customization_shop_pagination()
    {
    global $avia_config;
    if(isset($avia_config[‘dynamic_template’])) return;
    if(isset($avia_config[‘overview’] )) echo avia_pagination(”, ‘nav’);
    }

    Add to custom CSS—(he @media part eliminates the pagination below 1128px, the point at which it starts to overlap:

    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {

    position: absolute;

    right: 50px;

    z-index: 99999 !important;

    }

    @media only screen and (max-width: 1128px) {
    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {

    display: none;

    }
    }

    Or, to show the pagination stacked below 1028px widths:

    @media only screen and (max-width: 1128px) {
    .woocommerce-page .entry-content-wrapper > .pagination:nth-child(1) {

    position: relative;

    right: 0px;

    z-index: 0 !important;

    }
    }

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold WooCommerce storefront top pagination no longer linked to pages.’ is closed to new replies.