Site logo

Archived topic

Why is the image inserted from the image url not displayed on the website page

8 replies · Started by xinghui on September 13, 2022

Viewing posts 1–9 of 9

sure,i want to insert a baaner image in my homepage,so I create a container,and I insert my image directly through the image url of the container, but the effect after insertion is that my image is not displayed at all

Have you added padding to the Container Block? If not, can you try adding top and bottom paddings?

I added top:700 in the padding and it shows, why is this happening? If you make a large carousel, should you insert an image directly instead of choosing to use the background image to insert the image?

How to use generatepress to make carousel map?

By default, a Container Block just acts as a container. It wont occupy space unless you put a Block inside it or add paddings or set a min-height. This is the reason why it's not appearing even if you added a background image. In your case, you can either add paddings or set a minimum height.

As for the Carousel, GenerateBlocks doesn't have such a feature. You'll need a third party plugin for that or custom code.

ok,thank you,Are there any good plugin recommendations or reference posts for code?

This archived topic is closed to new replies.