Archived topic
pictures with 100%
3 replies · Started by Whelen Troy on June 4, 2017
How do I set that pictures have 100% width?
thanks
Hi there,
100% width of the container? That depends on where the picture is inserted.
Can you link me to the page and specify the element?
Hi Leo,
When making a new page using sections... adding a new image in a section.... the image has a padding. And is not occupying the whole width.
check this out please: http://matahum.com/sample/
at the same time, when making columns, I wanted to put a background to only half of the column i made. Example, on the second section of the sample page above, I would only want to put a background on the first column. How to do this?
This should help: https://generatepress.com/forums/topic/how-can-i-have-certain-images-all-the-way-to-the-edge-of-the-screen/#post-298423
For creating columns, I would recommend using Lightweight Grid Columns: https://en-ca.wordpress.org/plugins/lightweight-grid-columns/
See FAQ on that page, you can each of the columns classes, then just add the background image to that class like:
.my-column-class {
background-image: url(URL here);
}