Archived topic
Button loses color setting with Duplicate Post
11 replies · Started by Erika on December 16, 2022
Hi there,
a strange problem, have you encountered this?
I created a blog post with buttons. Then I duplicate the post with the Plugin Duplicate post, the buttons loose their color setting. All other settings are taken over. Any idea why that happens?
Thnanks, Erika
Hi there,
does it lose the style in the editor ?
Hi David,
yes, but it loses only the colors of the button, i.e. the text color is taken over. Hm?
Erika
Is it possible to see the original post, and the duplicate post that has broken colors ?
Sure, see the login in the private information
Can you attach the 2 links to the 2 posts?
Hi Ying, yes, see in the private information. Erika
It looks like the duplicator doesn't handle the variations well, the background color was set to var(--global-color-11), but during the duplicating process, the color changes to var(u002du002dglobal-color-11) which is an invalid value.
You'll have to manually assign the button color once the new page is duplicated, or you can try copying all content from the original post and pasting it into a new page, here's a video for your reference.
Hi Ying,
thank you, that´s exactly what we did. A strange issue, everything else works so well.
Erika
Do you mean you used the copy-and-paste method, but the color doesn't work?
Let me know!
Hi Ying,
sorry, I was obviously not clear enough. All good, we duplicated the post in the first place and that did not work with the button, so I suggested the other two solutions like you did. So I consider it solved, the bug is obviously in the Duplicate post Plugin.
Thanks, Erika
Glad to hear that :)
