laravel-5 – Change Paging HTML in Laravel 5.1

Question:

Is there a way to change the HTML returned by the render() method, in the built-in pagination in Laravel 5.1?

Note: I solved this by creating a helper that uses str_replace() , but I don't think it's the most correct way.

Grateful.

Answer:

Opens the page containing the pagination.

Open the Inspect Element of Chrome or another browser you use and inspect the elements that make up the paging.

Change via CSS .

Scroll to Top