-
eduardosans
Hi there, this last 2 weeks I’ve been extensively working with the pattern library and creating classes, and I’ve found some important issues:
1) When adding a class to the first container inside the grid, the design breaks and it takes the whole 100% width -amongst other problems-.
2) Anything I do related to icons (shape, size, color, etc.) inside the title block won’t get saved when creating a class.
3) Same happens with shapes: none of the configurations will get saved when creating a class out of a container block.
4) Same happens also with effects: none of the effects get saved (plus there are effects missing inside the class option that are working on the original like “text-shadow”, etc.).
—
Is this something you were aware and already working on? Is it going to be fixed for the next update? thanks in advance!
-
1) When adding a class to the first container inside the grid, the design breaks and it takes the whole 100% width -amongst other problems-.
What is the global style CSS you assigned to the container? Does it contain any attributes that are related to
width
andflex-basis
?2) Anything I do related to icons (shape, size, color, etc.) inside the title block won’t get saved when creating a class.
Icons are HTML not CSS, the global style only generates CSS. So it’s expected behaviour.
Save it as a pattern with global style, so it can save the HTML as well.3) Same happens with shapes: none of the configurations will get saved when creating a class out of a container block.
Same as #2.
4) Same happens also with effects: none of the effects get saved (plus there are effects missing inside the class option that are working on the original like “text-shadow”, etc.).
Only text-shadow is not available in the global style. I’m not aware of other effects with this issue.
But the effects are not saved in the global style is not normal behaviour, can you link me to an element that has the global style with effect and it’s not working?Let me know 🙂
-
eduardosans
Hi Ying,
I didn’t know the classes inside generateblocks were strictly css classes with nothing more to it, thanks for explaining.
Nevertheless, regarding #1 and #2 the issue still persists. Let me show you on a video (keep in mind that in this site there is no other plugin active but the generatepress bundle):
https://www.loom.com/share/ca5d6b0234a748819a0a9a13a6273e75?sid=957bf297-535e-4b6f-b725-1ae2cfec9a43
-
Yes, you are right. The styles from the effects panel can NOT be copied to the global style, as the global style uses another system for the effects.
If the original headline block only has styles from the effect panel, the copy/cut option won’t appear when creating a new global style.
But I do agree it’s not very convenient with this issue.
-
eduardosans
If the original headline block only has styles from the effect panel, the copy/cut option won’t appear when creating a new global style. >>> well this is more than an inconvenience, it means we have to redo every effect we created in every pattern or block we previously had to make it integrate in the new system. It was my understanding that you were working on a way to migrate blocks from old system to the new one seamlessly. Therefore my initial question: were you aware of this bug? is there going to be a fix on the next update?
also, what about the container inside the grid? In the video I also show you an example of this issue, classes are not working for that matter. were you aware of this bug? is there going to be a fix on the next update?
Thanks!
-
Hi there,
apologies for any frustrations you are experiencing.
But unfortunately at this time it is not possible for us to change that behaviour.For the Grids, this has always been an issue as the Grid block requires some “hidden” HTML that is not present in the editor. In GenerateBlocks 2.0 we will be replacing the existing Grid with a new CSS Grid block. Which will allow global styles to work on them.
For the Effects, those are just too complicated to convert.
In GB 2.0 we will be migrating the local block styles to use the same engine as the Global Styles. Unifying both systems which will stop this kind of issue in the future. -
eduardosans
thanks David, what is the estimated date for 2.0’s release?
Also, will we have the same effects in the new system (as of now, there is text-shadow missing that I can think of)? and/or will you have any new css effects included?
-
Alpha went out yesterday:
https://generatepress.com/generateblocks-2-0-a-new-era/
We expect a 4-6 weeks testing period due to the extent of the update before we reach release candidate.
Currently all GB 1.x Effects are now available in GB 2.0 including Text Shadows.
- You must be logged in to reply to this topic.