Fontfolio Theme – Size of the thumbnail
-
I want to customize my homepage. I use the Fontfolio but I changed the emplacement of the entry title. It’s now on the bottom right of the thumbnail (by 80%), appears only when hovered. So far, so good.
The only problem is that the “box” where the title used to be is still there, which leaves a blank between the pictures on the homepage. I’d like to have the pictures next to too each other without any blank or space and still have the title appearing on the bottom right.
Any help would be much appreciated!
Thank you!
-
a) “So far, so good”. Not completely. The theme is responsive: the content gets rearranged to adapt to mobile devices. Drag the browser window to make it narrower and see that your customization doesn’t work after a certain point.
b) For the theme at its widest, this should do what you’re looking for:.blog .hentry, .archive .hentry { height: 211px; } .blog .hentry:first-of-type { height: 422px; } .blog .hentry .entry-thumbnail, .archive .hentry .entry-thumbnail { top: 0; } -
Thank you for taking the time to answer!
That was indeed what I was looking for. Do you happen to know what I could change to make it work also on a narrower screen? -
You’re welcome.
I vaguely know, but I’m still not quite familiar with the sort of trickery responsive themes require, so better wait for a staff response. -
You could put the code from above into a media query that only applies to a browser width of 768px or larger:
@media only screen and ( min-width: 768px ) { .blog .hentry, .archive .hentry { height: 211px; } .blog .hentry:first-of-type { height: 422px; } .blog .hentry .entry-thumbnail, .archive .hentry .entry-thumbnail { top: 0; } } -
- The topic ‘Fontfolio Theme – Size of the thumbnail’ is closed to new replies.