I'm using this gallery: https://preview.themeforest.net/item/canvas-the-multipurpose-html5-template/full_screen_preview/9228123
How can I remove the counter that appears after opening an image?
How do I add some padding to an opened image?
3 replies · opened Feb 21, 2024
I'm using this gallery: https://preview.themeforest.net/item/canvas-the-multipurpose-html5-template/full_screen_preview/9228123
How can I remove the counter that appears after opening an image?
How do I add some padding to an opened image?
Hello,
To remove the caption, use the following CSS:
[ch_pre type="css"].mfp-counter {
display: none;
}[/ch_pre]
To add Padding, use the following:
[ch_pre type="css"].mfp-container {
padding-top: 2rem;
padding-bottom: 2rem;
}[/ch_pre]
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hello! 1st question is ok, 2nd question is ok but scroll is activated this way - check image.
Hello,
Thanks for your Patience!
We have checked this out more deeply and the issue is that this cannot be modified using the CSS for the Lightbox and will require Customizations to the JS Codes. We will look into this in more details and release this feature of adding padding to adding to the Image in the next update.
Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard