How do you make the display thumbnails larger in search results (and the title text smaller)? I’m using the Emiglio theme. I see in Appearance > Settings > Derivative Size Constraints…
Those sizes control how big the actual images created are. The size they show up on the page is going to be controlled by CSS, so that’s where you need to look to make a change, either by editing the theme or using the CSS Editor plugin. Changing the sizes of the title text would also be done in the CSS.
Hi jflatness, can you please share more detailed information about how to make the thumbnails bigger, showing me either how to edit the theme or providing the CSS code I need to add?
You cannot add plugins from the administrative software interface. You need to have access to the server to upload the plugin folder (which can be downloaded from https://omeka.org/classic/plugins/). Once the plugins are uploaded, you should be able to activate them from the plugins page within your installation.
Thanks sharonmleon, I installed the CSS Editor plugin. My other question is still unanswered: how will adding this code allow me to increase the thumbnail sizes?
.item-img {
width: auto;
}
If I add this CSS code and decide I don’t like it, how can I delete it? Thank you.
But, any code that you add through the CSS Editor, you are free to edit or delete. The plugin basically lets you tweak the existing styles without directly editing the theme.
Thanks sharonmleon, I read the document but I don’t see a code that would work for the thumbnails in my search results. I tried adding and modifying a bunch of things and saw no results, including this code…
.item-img {
width: auto;
}
Can you please tell me which code would work to increase the thumbnail sizes (and reduce the title sizes) in the search results?
Sorry, I misremembered which images you wanted to resize. For site-wide search results (what you see from using the search in the top right):
body.search #search-results img {
width: auto;
}
The comment about reducing title sizes makes me think you might be talking about the items-only search results, though. These are what you see by using the “Search Items” view. For that, you want the following styles.
body.items.browse .item.hentry img {
width: auto;
}
body.items.browse .item.hentry h2 {
font-size: 20px; // Or whatever size you prefer.
}
Thank you Kim, this worked nicely. Using “width: auto” on the thumbnail images made them a little bigger than I wanted, so I edited that part to read “width: 30%.” Do you think it’s a problem to use a percentage measurement rather than a pixel measurement?
Hi sharonmelon, I also need to update my Emiglio theme. I downloaded the new version, but where exactly do I upload it? Is it like installing a plugin?