qubely icon indicating copy to clipboard operation
qubely copied to clipboard

CSS not loading on Front End

Open inzlabs opened this issue 4 years ago • 8 comments

Hi,

First. Thank you for your amazing work and talent.

We are impressed by Qubely and all the capabilities that bring to Wordpress, however we run into a problem we seem can't solve. In the back end Qubely looks great as it should be, however on the front end it does not load the CSS.

Neither: qubely.bundle.min.css ont-awesome.min.css

This is the page as example with the issue

Example: Back end Ok Screen Shot 2020-06-18 at 7 23 44 PM

Front end with problem: Screen Shot 2020-06-18 at 7 23 32 PM

We have tried Qubely on two different Qordpress sites with the same theme and it works flawlessly. But on this one, we don't know where would be the problem.

We have tried deactivating all the plugins but the problem persists.

Thank you for your time and help solving this problem.

inzlabs avatar Jun 19 '20 02:06 inzlabs

I've been looking at this with @inzlabs as the theme developer and I wanted to add a few more details:

The problem seems to be with public function qubely_enqueue_style(). It is checking on line 323 to see if the post meta information for _qubely_css is there and it is failing on our live server. Both @inzlabs and myself have tested it locally and it works.

When I look at the DB, there are not post meta entries for _qubely_css.

The theme we are using is a private corp theme and explicitly include Gutenberg blocks that work with the theme. We were hoping to include yours, but if we can't get around this, we will have to remove them. The ones we are including are the following:

    'qubely/infobox',
    'qubely/wrapper',
    'qubely/timeline',
    'qubely/accordion',
    'qubely/accordion-item',

Thanks for your assistance.

designerbrent avatar Jun 22 '20 20:06 designerbrent

@designerbrent thanks for your detailed comment, we are working at this issue and will get back to you soon.

fai-sal avatar Jun 23 '20 05:06 fai-sal

Do you have any update on the issue? I've just installed Qubely Pro and have the same problem.

Inkvi avatar Jul 18 '20 21:07 Inkvi

I've experienced this or a similar issue and resolved it by adding a new preset or duplicating the active preset and setting it as the default. Seems to be something to do with saving the preset css postmeta. I didn't dig deeper once I discovered that when this happens if I mess with the global theme presets I can get it to work.

It's been a few months but I seem to recall seeing an error in my console that lead me to identify the global presets as the issue. This is under the Q menu in the upper right hand corner of the gutenberg editor screen.

jgarib avatar Sep 07 '20 18:09 jgarib

I've experienced this or a similar issue and resolved it by adding a new preset or duplicating the active preset and setting it as the default. Seems to be something to do with saving the preset css postmeta. I didn't dig deeper once I discovered that when this happens if I mess with the global theme presets I can get it to work.

It's been a few months but I seem to recall seeing an error in my console that lead me to identify the global presets as the issue. This is under the Q menu in the upper right hand corner of the gutenberg editor screen.

Many many many thanks for this comment! After a very long search to solve this frustrating issue I was finally able to solve it by adding a new preset! :-)

I also referenced your post at the Wordpress Qubely support page: https://wordpress.org/support/topic/qubely-blocks-render-in-editor-but-not-on-the-front-end/page/2/#post-14058892 As there are more people facing this issue.

Joennuh avatar Feb 16 '21 16:02 Joennuh

I've experienced this or a similar issue and resolved it by adding a new preset or duplicating the active preset and setting it as the default. Seems to be something to do with saving the preset css postmeta. I didn't dig deeper once I discovered that when this happens if I mess with the global theme presets I can get it to work.

It's been a few months but I seem to recall seeing an error in my console that lead me to identify the global presets as the issue. This is under the Q menu in the upper right hand corner of the gutenberg editor screen.

That didn't work for me, but deactivating the Blocksy Companion plugin did.

mvalencia464 avatar Nov 28 '21 05:11 mvalencia464