Open bfruben opened 1 month ago
Note: When copying entities.php to the themes folder and not changing it, the extra space does not appear.
Just a note, you don't need to copy in the while file if you don't need to alter most translations, you can just add/override the translations as needed.
Note: When copying entities.php to the themes folder and not changing it, the extra space does not appear.
- What exactly are you changing which makes the space appear?
- Are there any other files within your theme folder?
Just a note, you don't need to copy in the while file if you don't need to alter most translations, you can just add/override the translations as needed.
Thanks for the tip! I was removing everything that I didn't want to change. That's how I discovered this "bug". ;)
Thanks the the response @bfruben, I can't reproduce this, nor does it make sense really. I can only think the structure of the file is being modified in some way, casing stray text to be emitted at the start of the page/document.
With just one language override file active:
<?php
at the very very start of the file??>
exist in the file at all?Does the file still have just one <?php at the very very start of the file?
Yes
Does the text ?> exist in the file at all?
No
Is there any text in the top left corner within that added space (Try highlighting that area if you can't see any)?
There is now visible text on the page but there is in the html, see picture:
@bfruben Yeah, that could cause space. The structure of the HTML in that screenshot also looks broken as I wouldn't expect those meta elements to be in that location reletive to the shortcut data.
Have you got anything in the "Custom HTML Head Content" customization setting within the app?
Not anymore.
Does this space remain when viewing the customization settings page in the app?
No, it only shows on the books and shelves pages.
Describe the Bug
When making my own theme and changing some phrases I ended up with extra space above the titlebar.
This space only appears when I change copy and change the entities.php in the themes folder.
Steps to Reproduce
Note: When copying entities.php to the themes folder and not changing it, the extra space does not appear.
Expected Behaviour
No extra space above the titlebar
Screenshots or Additional Context
No response
Browser Details
Edge
Exact BookStack Version
BookStack v24.05.4