- This topic has 9 replies, 2 voices, and was last updated 7 years, 2 months ago by Leo.
-
AuthorPosts
-
February 14, 2017 at 2:07 pm #278816coco
My site is a blog with all the posts on the main page. I’m using the masonry layout and I’ve standardized the featured images by making them all square.
I’d like to know if there is a way to either standardize the size of the area where the title appears below the featured image in order to make it the same size no matter the title’s length?
Or, even better, if I can add (and standardize) a title block that I can customize color-wise and customize according to the “separating space” I’ve selected under Layout>Content Layout>separating space? I’m going to add a sidebar at some point, so I want to be able to change the title area/box size when that happens.
Either way, I’d like the site to format the site somewhat like a grid, but I don’t want just the square images, a la Instagram.
Thanks very much,
Coco
February 14, 2017 at 2:27 pm #278824LeoStaffCustomer SupportHi Coco,
Maybe I’m missing something here but wouldn’t it be easier to use Columns layout with 3 columns?
Then they would all be the same size and line up regardless the length of the title?
Let me know.
February 14, 2017 at 2:36 pm #278828cocoAh, yes, thank you for that ultra-simple solution. I must have migrated to the masonry layout at some point for some reason or another and then gotten stuck.
So is there a way to make title blocks, then? And/or to adjust the title’s padding below the featured image?
Continued thank yous~
Coco
February 14, 2017 at 2:41 pm #278832LeoStaffCustomer SupportNot quite sure what you meant by title blocks as they are already in a block?
Try this CSS to adjust the margin:
.post-image-above-header .post-image { margin-bottom: 10px; }
Let me know.
February 14, 2017 at 6:06 pm #278890cocoI’m wondering if I can make the titles of the blog posts in a gray block, say, that sits 7-10 px beneath the featured image.
February 14, 2017 at 6:14 pm #278893LeoStaffCustomer Supportok the CSS above place the title 10px under the featured image. You can adjust the number to whatever you like.
Then try this for adding a background color to the title:
.generate-columns-container .entry-header { background-color: ##3a3a3a; padding: 10px 10px; }
Let me know.
February 14, 2017 at 6:39 pm #278895cocoWonderful!! I think I’m getting there.
How can I make the boxes all the same size?
And how can I pad the post titles within these boxes?
Also, is there a way to move the rows closer together, and remove the ellipses, too?
Again, thank you.
Coco
February 14, 2017 at 6:59 pm #278897LeoStaffCustomer Support– I’m not sure if there is a way to make the title boxes all the same size because it depends on a lot of things: text size, title length, the padding we are about to add…Maybe if you can enter a couple blank lines?
– I adjusted the code above to add paddings. The 1st number controls the top/bottom and the 2nd number controls left/right.
– Try this to adjust the line height (default was at 1.2em):
h2.entry-title { line-height: 1em; }
– The ellipses will be removed in the next version when there is no read more text. For now, use this CSS:
.entry-summary { display: none; }
February 15, 2017 at 4:47 am #279032cocoYou have been really helpful—thank you so much!
I’ll see if I can maneuver the title boxes into a uniform size, because the rows where that occurs look good.
Your quick responses are very much appreciated.
Blessings!
Coco
February 15, 2017 at 6:26 am #279074LeoStaffCustomer SupportYou’re welcome. If you can show me an example of other sites using a uniform title box I can probably tell you how they did it 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.