Closed SKB-CGN closed 1 year ago
some css rules of your theme are overriding the EnlighterJS styles - use the element inspector of chrome/firefox to identify the weak rulesets and remove them from your theme
Now the lines are a little bit smaller, but till very big.
This is the only thing i found. The high is reduced from 63px to 43px.
take a look into all elements within enlighter-default
Where i am able to do that and perhaps "how"?
within element inspector, check each element within the .enlighter-default
wrapper
Only that one is using the class
shure, expand the element and inspect all child elements
There are no other classes used.
the elements are matched by other selectors, they didn't require a own "class" attribute. by clicking on these element you will see that there a a lot of styles added...
Sure, i inspected them.
If i deactivate this one marked in red, the line is "almost" ok.
please provide a link to your page and i'll take a short look into it
One second. As i am testing the Plugin for further use - it is not fully implemented. I will provide you one.
Have a look here: https://www.kreyenborg.koeln/test-enlighter/
the Enlighter plugin is not working (other issue) because your using some kind of "optimization" plugin which adds defer
to the script tag. see https://github.com/EnlighterJS/documentation/blob/master/wordpress/FAQ.md#javascript-error-enlighterjs-resources-not-loaded-yet for details.
it's also possible to enable the "single file mode" see Enlighter -> options -> resources -> Initialization
I added the Plugin to exclusion. In Edge its displaying nearly ok - but Firefox still has the high lines. Would you please have a look again?
it's an issue with your theme (the css rule display:table
for all pseudo elements looks very weak...) :
Thanks for having a look again. I will check with the theme.
Thanks for pointing me to the right level .... I never looked into pseudo-elements :D If you want, you can test the page again. It should look like it should before, right? ;)
A small additional question here. If i go to the page via my mobile phone in horizontal-mode, the code is not in a scroll-able area. Its not scroll-able right nor left.
If i switch my phone to landscape, the code even wraps inside the area.
Is this related to the theme or to the Plugin?
Describe the bug Lines are to high with Colibri Theme
WordPress Editing Mode Which WordPress editing mode you're using ?
Frontend or Backend Issue
Does the issues occurs on your frontend or on the backend (WordPress admin area) Frontend
To Reproduce ?
Expected behavior Normal line numbers
Screenshots![2021-10-13 16_34_42-iRobot Steuerung in ioBroker - Kreyenborg koeln](https://user-images.githubusercontent.com/58603329/137154736-e93a0d9f-5962-44b7-a8c2-01c7bcd00762.png)