-
AuthorPosts
-
September 2, 2021 at 5:29 pm #1319540
Hello Kriesi Team,
i want to display selected Posts on several pages. I use the Blog Post Element with “Raster-Layout” and “Titel, Textausschnitt + Weiterlesen-Link”. The “Textausschnitt + Weiterlesen-Link” shoud both be smaller fontsize and less line-hight. I think, it should work with a special ccs in the child theme.
Can you help me where to do that?best regards
ManfredSeptember 4, 2021 at 5:09 am #1319707Hi Manfred,
Could you post a link to where we can see the element in question, and let us know what specific changes you would like to make there please?
Best regards,
RikardSeptember 4, 2021 at 8:46 am #1319719Hi Rikard,
the Site: https://www.world-of-defender.de/defender-110/
Password: rover
Near the botton under the head: AKTUELL VERFÜGBARE DEFENDER 110
you find 5 “Blog Beiträge” describing 5 Cars. The text from “Sondermodell” to “Weiterlesen”
comes from the ”Textauszug”. I want to change fontstyle,fontsize and line-hight, so that it gets much smaller.And: can I deleat the Date?
Best regards,
RikardSeptember 5, 2021 at 10:00 pm #1319804Hi,
Thank you for your patience and for the login, to ensure that the following custom css doesn’t interfere with other pages or elements I recommend adding a custom class to this blog element which you can use everywhere on your site that you want this effect, for this example we will use aktuell
then to hide the date and change the font size & line height we will use this css rule:.aktuell > div > div > article > div > .slide-entry-excerpt { font-size: 10px; line-height: 12px; } .aktuell > div > div > article > div > .slide-meta { display: none; }
I was not sure how small you wanted the text so I guessed, feel free to adjust.
the results:
Please clear your browser cache and check.Best regards,
MikeSeptember 6, 2021 at 8:34 am #1319843Hi Mike,
cool, works fine.One question to understand the concept behind:
Would it work with
.aktuell {
font-size: 10px;
line-height: 12px;
}
as well?
Why do you use “> div > div > article > div > .slide-entry-excerpt”?Thanks for the great support of the Kriesi-Team!!
ManfredSeptember 6, 2021 at 12:54 pm #1319868Hi,
Glad this works for you, if it was written differently the font change may also affect the post title which you didn’t include in your specification. Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeSeptember 6, 2021 at 1:09 pm #1319869Hi Mike,
thanks for the explanation, it is perfekt.
You can close,best regards
ManfredSeptember 6, 2021 at 8:08 pm #1319900Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Blog Post Excerpt Font size and Line-hight’ is closed to new replies.