• cmaperezalvarez

    (@cmaperezalvarez)


    First of all, thank you for this excellent plugin. I find it very useful and it meets my expectations perfectly.

    However, I have a problem: I can’t seem to set fixed dimensions for the container that displays the book. With values ​​like those shown in the examples, the container doesn’t fit in the remaining space on my webpage, which makes reading the book very difficult. I’ve tried various height and max-height values, without success.

    Would it be possible to set fixed, non-dynamic dimensions for the container?

    I’m using WordPress 6.9.4 + Divi 5.

    By the way, I’d like to translate the plugin into Spanish.

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Francesco Martini

    (@wrcisco)

    Hi, thank you for you kind words.

    If by “fixed, non-dynamic dimensions” you mean pixels, you surely can, with width="NNNpx" and height="NNNpx" . Otherwise, you can use any valid CSS value: if you have a container to fill, you can set both width and height to 100%, or you can use viewport units or more complex calculations with calc. Not knowing the exact layout of your page, I’m not sure what would work best for you.

    About the translation, that’s great! Give me a little time to set up the project and I’ll get back to you.

    Thread Starter cmaperezalvarez

    (@cmaperezalvarez)

    Hi,
    Thank you very much for your answer.
    Issue solved. it was about syntax:
    style=”height:400px” doesn’t work for me. It’s the way I used to for CSS styling.
    However, height=”400px” works fine.
    Furthermore, viewport units are more flexible to set height and witdh.
    Regarding the translation, send me the necessary material whenever you can, no problem.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.