Hi @mark-jansen
Thanks for your post, I fixed the issue with full and wide alignment, check the version .25.
Let me know how it works for you.
Hi @digitalapps. Thanks again for the fast response.
I have updated to 1.0.25 but unfortunately it doesn’t make a difference. I have tested with the block alignment button and als added a custom class.
<!-- wp:da/wp-swiper-slides {"align":"wide","effect":"fade","tabsData":[{"slug":"slide-1"},{"slug":"slide-2"}],"pagination_type":"fraction","className":"MyCustomClass"} -->
This is the output in the Code Editor, but it doesn’t reflect it in the outputted HTML both in the block editor and the front-end.
I’d expect the first
to contain the classes alignwide
and MyCustomClass
Apparently the parser here won’t play nice with the HTML ๐
This is this is the code it generates. And I’d expect the first div to have the classes appended to them
https://gist.github.com/YourMark/4e461175e1ae55c609b9cabd310c941f
-
This reply was modified 9 months, 1 week ago by
Mark Jansen.
-
This reply was modified 9 months, 1 week ago by
Mark Jansen.
ah I see how you are using the classes. Version .25 I introduced new custom align classes, but after seeing how you are using these, I released a new version .26. now we are using .alignfull, .alignwide. I didnt add any css rules with that. let me know how it goes.
PS: for the changes to take effect, you would probably need to reload/resave the page .
I am using the default WordPress core way. So the block alignment option. (which seemed to work before 1.0.24).
I have now updated to 1.0.26 and it looks like it’s working great again.
Thanks!
Small update: I’m not using it currently for the WP Swiper plugin, but the custom class under extra CSS classes is not being applied.
nice catch .27 fixes the issue, now you can assign custom classes
Confirmed, this works now.