Im trying to layout a table based grid for post with my individual styling and additional fields for WP posts.
For whatever reason I can`t find out, why the columns are not identical, do not have the same width.
The HTML Code for the attached grid shown in the attached jpg is:
Hi, I can see that you're using a table layout, and the td has a max-width value of 33%!important in your CSS. I think this is the main problem, because there is no specified width, only a max-width. Table cells are not designed to be equal width by default, so if there is a wide image in one grid item it will expand that column width. If you want equal width cells, you must style them to be equal width using specific CSS. I think your td CSS should be:
td {
border: none;
width: 33%;
}
I'm not certain, because I would need to see this in a browser. But I think this is what's happening. I should also point out that table-based layouts are difficult to read on smaller screen sizes. I would consider a responsive Bootstrap grid instead of a table grid, so the results are easy to read on different devices, unless you have a very good reason for using tables.
Yes, I can rebuilt it to a image usage with out putting it in a DIV, but asI wanted to but an additional Headline on top of the image it is a different solution.
I still can't use the image as a background in a div with the above code,... ? Sure,.. the images are there an do work stand alone.
May I log in and see this on your site? Please provide login credentials in the private reply fields here and let me know the URL where I can find this View on your site.
Hi, I received a private reply dated today at 7:01am, followed by your last reply dated at 7:17am. It included the login credentials, a screenshot, and some information about where to find the grid problem.
I see this custom CSS on your site, which is breaking the grid:
Once you delete this code, apply the standard responsive grid classes necessary to show different numbers of columns of results at different resolutions. The following grid classes will show full-width results on mobile, two columns on tablet, and 3 columns on desktop:
class="col-xs-12 col-sm-6 col-md-4"
Please review the grid system documentation here for more information about responsive grid techniques: lien caché
If you want to modify or override the Bootstrap grid system using custom CSS, that falls outside the scope of support we provide here in the forums. I strongly suggest you do not attempt to override or modify Bootstrap's grid class styles unless you know what you're doing and have a good reason to do it.
Again, I followed your advice, while creating a new test page, which you only can see if you are logged in: lien caché.
So after deleting any CSS for the rows and columns of bootstrap as requested it does not fit to the requested size of 100% which is 1100px in this case. even on a desktop,... not talking about mobile or tablet yet.
In my understanding it should, or not? Is it a integration problem with generatePress or elementor? Or still a missunderstanding from my side?