ewriter skin: destop logo is cut horizontally

This forum is for discussions on the Help & Manual Premium Pack and the Premium Pack Toolbox configuration utility introduced with Premium Pack 3

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
BertholdL
Posts: 135
Joined: Fri Aug 09, 2024 3:03 pm
Location: Stuttgart, Germany

ewriter skin: destop logo is cut horizontally

Unread post by BertholdL »

In my customized skin based on V5_MinimalModern_BlueDiamond_eWriter.hmskin I changed the logo for desktop (default name logo-image-desk.png in the baggage files).

The original has 483 × 117 px. My image has 483 × 97 px, so the same length and slightly less height.
But: In my output file the logo is cut in the middle. The right part is missing. How does it come given that my width is the same as the original's width?


PS: I have all 3 measures with the same value: These 2
size_footer.png
and the frame. Just to know for the future: Which of these 3 values is decisive for the ebook layout in the header? W = and H =, Physical size or the frame size shown to the right of the snipSVG window with the focus outside the image?
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 7818
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: ewriter skin: destop logo is cut horizontally

Unread post by Tim Green »

You can set the precise dimensions of your logo with the HEADERLOGO_DIMENSIONS config variable in the Header & Footer variables group when editing the skin in Toolbox.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
BertholdL
Posts: 135
Joined: Fri Aug 09, 2024 3:03 pm
Location: Stuttgart, Germany

Re: ewriter skin: destop logo is cut horizontally

Unread post by BertholdL »

Thanks! Which size of the 3 is decisive? The frame size, isn't it?
User avatar
Tim Green
Site Admin
Posts: 7818
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: ewriter skin: destop logo is cut horizontally

Unread post by Tim Green »

BertholdL wrote: Fri Nov 21, 2025 11:45 am Thanks! Which size of the 3 is decisive? The frame size, isn't it?
?? That variable in the skin only has two dimensions. By default they are:

Code: Select all

height: 2.8rem; width: 11.6rem;
It's best to continue to use rem for the dimensions, then the image size will automatically adjust with the font size and everything else when the user adjusts it in the hamburger menu.

Your settings in SnipSVG are irrelevant here. The header logo is treated as a regular image, irrespective whether it is a PNG or an SVG. Just set its display dimensions with the dimensions variable.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply