[Resolved] Font size of code blocks changed

Home Forums Support [Resolved] Font size of code blocks changed

Home Forums Support Font size of code blocks changed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #112639
    Peter van der Woude

    Hi,

    Today I installed the GP Premium package and I updated my GP theme to the latest version. One of these actions has changed the font size of my code samples to be a lot larger. I just can’t figure what has changed that could cause this. It doesn’t seem to be something that can be configured through the menu’s. Could you guide me in the right direction?

    For an example see: http://www.petervanderwoude.nl/post/automagically-set-the-mobile-device-owner-to-company/

    Thanks!
    Peter

    #112748
    Tom
    Lead Developer
    Lead Developer

    Hi Peter,

    Sorry about that – I overlooked something in the update.

    It’s been fixed in the next version.

    For now, you can add this CSS:

    pre {
    	background: rgba(0, 0, 0, 0.05);
    	font-family: inherit;
    	font-size: inherit;
    	line-height: normal;
    	margin-bottom: 1.5em;
    	padding: 20px;
    	overflow: auto;
    	max-width: 100%;
    }
    #112760
    Peter van der Woude

    Thank you Tom! Much better!

    #112761
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

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