Global Class not working correctly

Error: .globalclass only works for the first declaration and subsequent ones render .globalclass instead of changing to the actual name of the class:

i.e. final output in CSS is

.post-content–contained>+h2{margin-top:var(–size-l)}.globalclass>+h3{margin-top:var(–size-m)}.globalclass img{max-width:100%;height:auto}

where the global class name is .post-content–contained

Hi @grantambrose,

Sorry to hear you’re experiencing trouble with this.

I am unable to reproduce this error on my end, as this particular error was fixed in the latest version.

However, perhaps you updated your plugin before our small change was implemented.

Could you possibly download the latest version of Cwicly from your dashboard, and see if this helps?
Thank you in advance.

Hello Araminta,

Yeah I am on version 1.2.9.7.4 and still get the error :S

1 Like

This is unusual @grantambrose, as on my end it works as expected:

global-class

Forgive me for insisting, but it would point to you being on the previous version of 1.2.9.7.4 ,without the small fix that resolved this issue.

If you could kindly confirm whether re-downloading version 1.2.9.7.4 from your dashboard fails to resolve the problem, that would be great.
Thank you!

1 Like

Hello,

Sorry, ok I see what you mean. There are different versions of 1.2.9.7.4

  1. Yep I can confirm I uploaded a the latest Cwicly plugin downloaded from my Account and it is working now :slight_smile:

thanks Araminta!

1 Like

No worries @grantambrose!
Thank you for confirming this on your end :slight_smile:

Please don’t hesitate to let me know if there is anything else I can help you with.

1 Like