-
Notifications
You must be signed in to change notification settings - Fork 16
Button group alignment doesn't work as expected #401
Comments
might be related to Codeinwp/neve#1870. For me, after going into the editor and save the page, everything is ok |
Thanks Rodica! Yes, going into the editor and saving the page + Regenerate CSS from Otter options, fixes this problem. |
Should I close it then @mghenciu? |
this is still present and the regenerate issue is still present. You can replicate this by building some button group block on the old version of otter and update to the new one after. The style for the button group is lost or somehow not applied. It seems that it heals after you manually update the post, by going to editor and click update, BUT NOT when we regenerate the CSS style. It seems that the action of updating inside the editor alters the post_content and fix the issues, action that is not done using the regenerate CSS since this is not being done in the backend. I have attached the post_content before clicking the update and after and if you run a diff on it you can see that some ids are changed. @HardeepAsrani how we can fix this? It isn't a solution to ask people to go to their pages and click update. |
After I started manually Re-saving the pages, the alignment for Button-groups it's fixed. @selul |
Another thing that's worth mentioning here (regarding the button-group style reset), is that there is a pattern, usually the Reusable Blocks have the style broken - even after you resave the page, but the other ones (not part of a Reusable Block) are fixed after resaving the page. |
@mghenciu how about if you click edit on the reusable block and save them? |
Yep, @selul . Already doing this where we have Reusable blocks (and it works) and I am re-adding the buttons/sections were things don't get fixed after resave. |
@mghenciu Did you click to Edit the Reusable blocks and then Save? Not the post but the Reusable Block. :) |
@HardeepAsrani Yes, Edit the Reusable blocks and then Save. |
@mghenciu That is fixed in development and will be fixed in the upcoming release. Hopefully this week. |
@HardeepAsrani , the issue with the buttons aligning to the left after import, 'made his presence' again on 3 demos we tested so far: Basically after importing the demos, some buttons are aligned to the left instead of center. Laundry Services: https://prnt.sc/10jjrhh And yes, I resaved the pages but the issue is still present. Will try to regenerate, and see if this fixes the issue. |
Issue was made here regarding this: #614 |
Repro:
Expected
In version 1.5.6
The text was updated successfully, but these errors were encountered: