Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2678

General Questions/New to Joomla! 4.x • Re: Category Blog View in Module?

$
0
0
I have managed to add space between the columns using the below, but it also adds space either side of the whole table. Is there any way to counteract that? Thank you.

grid-gap: 0 1em;
Hi. This property does not add а space either side of the whole table. Explore this through Dev Tools of your browser to see what this space adds.
1.jpg
--

You can override this like that.

Code:

.card-body {padding: 0;}
But this code will affect all .card-body elements in other places. If you want to avoid this, add margin property to your code for .newsflash instead of using the code for .card-body padding.

margin-inline: -15px;
2.jpg

Statistics: Posted by Pavel-ww — Sun Apr 21, 2024 7:46 am



Viewing all articles
Browse latest Browse all 2678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>