• Resolved SJW

    (@whitsey)


    I have implemented AAPL on a new website which loads in WordPress pages using AJAX. (https://github.com/wp-plugins/advanced-ajax-page-loader)

    Problem: For some unknown reason, css styles which are supposed to be loaded via enqueue are not being loaded.

    Do I need to load styles through AJAX as well?

    If I click a page, some effects and transitions don’t load – when checking the element, the css isn’t visible. I then click “reload” which loads the page normally, and everything works perfectly.

    Site: https://murrayfredericks.oleymedia.com/projects/

    Click “Greenlands” -> “Information” – you can see it loads the font in Times New Roman instead of the styles from bootstrap.css. Reload the page and voila – problem resolved – bootstrap.css is loaded?

Viewing 1 replies (of 1 total)
  • Thread Starter SJW

    (@whitsey)

    There was javascript on page (not throwing any errors) that was causing the ajax script to stop working properly.

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced AJAX Page Load breaks css in website’ is closed to new replies.