Cornerstone Global Block builder CSS increases text size

Hey guys,

Noticed something today when some layout we had created for a global block was different on the front-end versus on the cornerstone preview…

After digging a bit we found this:

.cs-global-block-builder {
    font-size: 1.125rem;
}

Is there any particular reason behind this?

Thank you!

Note…

In our Theme Options, in Typography, the Content Font Size is set to 1.125rem so it looks like that’s where this is coming from.

… but why would it be applied different in Cornerstone preview and on the front-end?

On the front-end, this rule is applied as “.entry-content {font-size:1.125rem;}”.

While writing this message I just saw that off-canvas content area is outside of the “entry-content” div, so if you design a global block for a modal or off-canvas content area, you will not have the actual final preview in Cornerstone.

Is this something you can consider looking into?

Thank you!

Hello @thisisbbc,

Thanks for writing in! I will forward this thread to one of our developers to answer your question. He is the best person that would explain and investigate this matter.

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.