- This topic has 5 replies, 2 voices, and was last updated 5 months, 1 week ago by David.
September 16, 2020 at 3:56 am #1445440Daniel
I’m trying to make parts of my text in accordions in eg. red color but as soon as I enter the code editing and write a simple html it breaks the element and requires block recovery which just rolls back the progress.
There’s no basic text editing in the gui menu. I’d also like to add bullets in the accordion – which is a plugin element, but there’s no options for that either.
How can I make that work?September 16, 2020 at 4:33 am #1445491DavidStaffCustomer Support
i can help with some CSS to color the accordion if you wish – which text do you want to change ? The title or the content?
Adding HTML inside the accordion – you would need to check with the plugin author as there isn’t anything we can do to change its behaviour.September 16, 2020 at 4:52 am #1445520Daniel
Hi, I’d like to change text in the brackets from the image I posted above to be to red. I tried <“div”> and custom class with CSS to color that part only but every code editing resulted in block “corruption”.September 16, 2020 at 5:42 am #1445576DavidStaffCustomer Support
Unfortunately that would also require you to be able to add HTML to the Accordion block.
Maybe this plugin would be better:
It looks like it supports any type of block after the Accordion title.
Then its just a case of adding CSS to style it.September 16, 2020 at 6:03 am #1445605Daniel
I have no problem adding custom code to the block myself. By why is it so hard to make minor custom code edits with Generatepress, even with original element. Most of the time the element just results in corruption when trying to view it visually again not as raw code and it doesn’t work on front end either?
I’m used to Visual Bakery plugin where these things are really easy to do with custom code.
Is this kind of stability still a work in progress for the future versions?September 16, 2020 at 6:31 am #1445640DavidStaffCustomer Support
GeneratePress has nothing to do with this issue or the styles / limitations that plugin provides. That is the responsibility of the Plugin author.
For building pages in the Block Editor we recommend our own Block Plugin: GenerateBlocks
It provides 4 basic blocks for creating layouts and customizing Typography and Buttons. And works with the Accordion block plugin i mentioned.
- You must be logged in to reply to this topic.