Adjust Table Row Height
-
Hi I wish to adjust the row height as there’s a little too much padding for each row. As an example see here https://downtonparishcouncil.gov.uk/main-council/agendas-and-minutes
I have inspected the page using Chrome [a useful tool] and it seems that the padding is set in style.css at 0.8em for a td. As it’s style.css I assume it is picking up the site’s theme style?
My question is how can I adjust the just the style for the mla tables?
For info here’s the relevant calling code on the page:
[mla_gallery mla_markup=downtonpc my_gallery_title=”2017 Documents” post_parent=all post_mime_type=application/pdf category_name=pub-doc tag=”main+2017″ size=icon mla_image_attributes=’width=”16″ height=”16″‘ columns=1 link=title orderby=”name?DESC”] ** By the way how much of this can be moved into the MLA gallery templates? **
and as its style related the custom markup from MLA Gallery:
<style type=’text/css’>
#[+selector+] {
margin: 0;
width: auto;
}
#[+selector+] .gallery-row td .gallery-icon {
width: 16;
height: 16;
vertical-align: top;
}
#[+selector+] .gallery-row .gallery-icon img {
border: 0px solid #FF0000;
}
#[+selector+] .gallery-row {
float: none;
text-align: left;
width: auto;
padding: 0; << NB just added this back it had no effect
}
#[+selector+] .header-row {
float: none;
text-align: left;
width: auto;
font-weight: bold;
}
#[+selector+] .gallery-caption {
margin-left: 0;
vertical-align: top;
}
</style>and the details from the downtonpc Markup template:
OPEN – <h3>[+template:([+query:my_gallery_title+]|Default Gallery Title)+]</h3>
<table id=”[+selector+]” class=”gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]”>
ROW OPEN – <tr class=”gallery-row”>
ITEM – <td>
[+pdf:Title+]
</td>
<td class=”gallery-icon”>
[+link+]
</td>https://www.ads-software.com/plugins/media-library-assistant/
- The topic ‘Adjust Table Row Height’ is closed to new replies.