Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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
    Manfred

    #1319707

    Hi 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,
    Rikard

    #1319719

    Hi 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,
    Rikard

    #1319804

    Hi,
    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
    2021-09-05_005.png
    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.
    2021-09-05_006.png
    the results:
    2021-09-05_007.png
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1319843

    Hi 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!!
    Manfred

    #1319868

    Hi,
    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,
    Mike

    #1319869

    Hi Mike,
    thanks for the explanation, it is perfekt.
    You can close,

    best regards
    Manfred

    #1319900

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blog Post Excerpt Font size and Line-hight’ is closed to new replies.