- This topic has 11 replies, 2 voices, and was last updated 1 week ago by
Tahasin.
Hi there,
The spacing between the categories is very large for template link-template-default card mb-2. How can I reduce it?
thanks, fb
Thanks for sharing the details.
Those gaps are being caused by the pagination of the category tables. From what I can see, you’ve added six category shortcodes on that page. Is that correct?
Tahasin
Yes, exactly. And those very intervals are to be reduced.
Here the Template:
<div class=”col-6-100″>
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”row row-cols-1 row-cols-md-3 g-3 align-items-center”>
<!– Spalte 1: Icon –>
<div class=”col-auto text-left text-md-start”>
<div class=”img-48″>[icon]</div>
</div>
<div class=”col flex-grow-1″>
<h3 class=”package-title mb-1″ style=”color:#666666; font-size:1.1em; font-weight:600;”>[title]</h3>
<div class=”mb-2″ style=”color:#808080; font-size:13px; font-weight:400; line-height: 1.4;”>[description]</div>
<div class=”text-muted small”>
<span style=”color:#808080;”><i class=”far fa-file-pdf me-1″></i> [file_size]</span>
</div>
</div>
<div class=”col-12 col-md-auto text-md-end”>
<div class=”d-grid d-md-block”>
[download_link]
</div>
</div>
</div>
</div>
</div>
</div>
Kindly try applying paging="0" inside the shortcodes.
Let me know, how it goes.
Where should it be inserted?
Inside the shortcode, like this
[wpdm_category id="" cols="1" template="" paging="0" toolbar="0"]
Ah… Thanks. yes, that works. However, since we already have over 100 pages online, I was thinking of a centralized solution within the template’s CSS…
It’s coming form the shortcodes not templates.
However, you can also apply this CSS in your theme’s additional CSS section
.pagination.wpdm-pagination.pagination-centered.text-center {
display: none;
}
Perfect. Many thanks š
You must be logged in to reply to this topic.