[Support request] How to color parts of sentences with different color?

Home Forums Support [Support request] How to color parts of sentences with different color?

Home Forums Support How to color parts of sentences with different color?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1445440
    Daniel

    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.

    https://pasteboard.co/JrkP0wW.png

    How can I make that work?

    #1445491
    David
    Staff
    Customer Support

    Hi there,

    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.

    #1445520
    Daniel

    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”.

    #1445576
    David
    Staff
    Customer Support

    Unfortunately that would also require you to be able to add HTML to the Accordion block.
    Maybe this plugin would be better:

    https://wordpress.org/plugins/accordion-blocks/

    It looks like it supports any type of block after the Accordion title.
    Then its just a case of adding CSS to style it.

    #1445605
    Daniel

    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?

    #1445640
    David
    Staff
    Customer 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

    https://wordpress.org/plugins/generateblocks/

    It provides 4 basic blocks for creating layouts and customizing Typography and Buttons. And works with the Accordion block plugin i mentioned.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.