• Resolved bryanhiggs

    (@bryanhiggs)


    I am finding no way to change the font-size for a code block in the WordPress block editor using the Blocksy theme. The block typography in the block editor seems mostly to be non-functional for a code block. In particular, the font-size makes no visible difference. I even tried custom CSS, and it had no effect (I could set, for example, the text color via custom CSS, but font-size made no difference, even with !important).

    My goal here was originally to have two <code> blocks side-by-side, so the reader can compare the two, line-by-line. I can do that on the desktop view, but, for tablet and mobile views, the text in the <code> blocks, when too long for the line, gets wrapped to the next line. I would like to reduce the font size to compensate for this, but found that I have no control over the font-size for the <code> block.

    Can someone help me figure this out?

    Thanks!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @bryanhiggs

    Hmm, it seems this is indeed a little issue from our side, where the font adjustments do not work for the “code” block.

    I have informed the developers about this. I will be back as soon as I have something from their side.

    Be in touch!

    Hello @bryanhiggs

    I can confirm that the next Blocksy update will fix this. Please do Blocksy 2.0.64 once it reaches you and you’ll be good to go!

    If you need a pre-release build until then, please drop us a line over on our website – https://creativethemes.com/blocksy/support/ – and we’ll happily send it to you.

    Thanks!

    Thread Starter bryanhiggs

    (@bryanhiggs)

    Wonderful! Thanks for your prompt and very positive response.

    No urgent need. I’ll be on the lookout for the v. 2.0.64 release!

    Thank you as well, @bryanhiggs! Take care!

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