ResolvedResponsive Pagination

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  dowodigital 1 year, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5554

    dowodigital
    Participant

    We want to move the pagination to above the sidebar for mobile view (so have sidebar at the bottom of the page, as users are missing additional products).

    Where do we need to change this?

    #5564

    Althemist
    Keymaster

    Hi dowodigital,

    sorry for the late response.

    I am afraid this can’t be done easily. I’ll ask our lead developer Alex to give you instructions, but keep in mind some extensive HTML, PHP and CSS knowledge would be required.

    #5572

    Alex
    Keymaster

    Hi dowodigital,

    To add pagination above sidebar add following at line 27 in vinicia\woocommerce\global\sidebar.php . It should look like that:

    if($woocommerce_sidebar && $woocommerce_sidebar != 'none')
    {
    	if (function_exists('vinicia_pagination')) {
    		vinicia_pagination();
    	}
    	get_sidebar();
    }

    Now you will have pagination on both places and you need to hide one of them depending on the resolution. That could be done with java script. You can add your code to vinicia-front.js.

    But we recommend to make your changes in child theme so you don’t loose your changes on theme update.

    Regards,
    Alex

    #5611

    dowodigital
    Participant

    Thanks

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

The forum ‘Vinicia WooCommerce theme [RETIRED]’ is closed to new topics and replies.