Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog design. #43

Open
learningtime2025 opened this issue Dec 3, 2023 · 1 comment
Open

Blog design. #43

learningtime2025 opened this issue Dec 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@learningtime2025
Copy link

learningtime2025 commented Dec 3, 2023

While i was reading post #40
i looked at the site of that author.
seems like missing some code for blog titles to be the same height.
as example the page: https://www.tppickleballclub.org/club-business/meetings-2020

blog-screen

1 and 2 must be the same height (is autoheight using maximum for all possible with css only?)
3 and 4 must be the same height too
So the 5 and 6 will be on one line that will lead to overall looks good.

@learningtime2025
Copy link
Author

learningtime2025 commented Dec 5, 2023

Temporary workaround:

in file /user/themes/editorial/templates/partials/blog-list-item.html.twig
change lines 7 and 8 to:

    <{{Htag_title}} class="blog-title">{{ title|raw }}</{{Htag_title}}>
    <p class="blog-article">

in file /user/themes/editorial/assets/css/custom.css
add something like:

.blog-title {
	min-height:3lh;
}

.blog-article {
	min-height:10lh;
}

@pmoreno-rodriguez pmoreno-rodriguez self-assigned this Dec 23, 2023
@pmoreno-rodriguez pmoreno-rodriguez added the enhancement New feature or request label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants