• Resolved ashokmariyala

    (@ashokmariyala)


    After code block paragraph is combined without any space. Need to provide some space after every code block.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kevin Batdorf

    (@kbat82)

    Isn’t it up to the theme to determine the spacing between blocks?

    Thread Starter ashokmariyala

    (@ashokmariyala)

    No it’s not related to the theme. I don’t face issue with Other code blocks. Other code blocks are working fine without any issue. I am facing this space issue code plus plugin only.

    Plugin Author Kevin Batdorf

    (@kbat82)

    Ah, you’re not on a block theme. I zero out the pre element as block themes will add margins between all blocks. I can give you some CSS to add.

    div[class*='code-block-pro']:not(.x) pre {
        margin-bottom: 1rem !important;
    }

    Does that work?

    Thread Starter ashokmariyala

    (@ashokmariyala)

    Okay sure. Let me try with above css.

    Thread Starter ashokmariyala

    (@ashokmariyala)

    Thanks above CSS is working fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘After code block paragraph is combined without any space.’ is closed to new replies.