• I’m using Swup, which is a js plugin that makes page transitions from page to page. If you have js one some pages, you have to tell the plugin that it has to run those scripts after a page transition happened. When I use Generatepress (great theme btw) and go from a full width to a page with a sidebar it brakes the layout, especially with flex items. It fixes itself after a refresh. So here’s my question; does Generatepress use javascript to build the pages?

Viewing 1 replies (of 1 total)
  • Hi there,

    does Generatepress use javascript to build the pages?

    No.

    GeneratePress like most themes adds helper classes to the <body> tag, for certain template parts or layouts eg. right-sidebar or full-width-content – and those are used to load the relevant CSS.

    It sounds like swup is pjax loading the main content whilst leaving the body intact.

Viewing 1 replies (of 1 total)

The topic ‘Does this theme load css with js?’ is closed to new replies.