Skip to content

Theme Customizer does not work for .enlighter-t-wpcustom .enlighter span #6

@gruniversal

Description

@gruniversal

Hello,

I am not sure if this is a bug, but I hope you can help me.

Environment

Story

  • previous version: 3.10, now have to update entries because of missing mocha-theme
  • used theme customizer to copy monokai to wpcustom
  • now trying to reduce font-size from 15px to 12px

Example

<!-- wp:enlighter/codeblock {"language":"php","theme":"wpcustom"} -->
<pre class="EnlighterJSRAW" data-enlighter-language="php" data-enlighter-theme="wpcustom" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
if ($result = $mysqli->query("SELECT Name FROM City LIMIT 10")) {
    printf("Select returned %d rows.\n", $result->num_rows);
    $result->close();
}
</pre>
<!-- /wp:enlighter/codeblock -->

Problem:

  • cannot find a input-field to customize this entry:
.enlighter-t-wpcustom .enlighter span{
	font-size: 15px;
}

Since all tags are span, it is not possible to change the font-size.

Proposed solution

  • there should be a way to change font-size of span as well

Best regards,
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions