Home Forums WoodMart support forum Global JS and CSS Is not loaded on second page of the shop (pagination) Reply To: Global JS and CSS Is not loaded on second page of the shop (pagination)

#78622

Artem Temos
Keymaster

Hi,

Yes, because the second page is loaded with AJAX so in fact, the page is reloaded and $(document).ready() is not triggered. If you want to make this code work, you need to disable AJAX shop function. But it is much easier to change this button with CSS

body.btns-default-dark .widget_price_filter .price_slider_amount .button {
    background: rgb(52, 152, 219);
		color: white;
}

Regards