Support » Plugin: List category posts » possible to indent excerpt?

  • Resolved pintsizeWP

    (@pintsizewp)


    Hi,

    First, thank you for this wonderful plugin. I really appreciate its reliability and versatility.

    Second, my client wants to indent the first line of the post excerpt, like so:

    November 2, 2020
    Energy field of potential activity; etc.

    I know people usually want to indent hanging second lines of the excerpt, but she doesn’t care about that. She just wants the first line indented. I can’t find any similar examples or requests. Is it possible to style the excerpt like this?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pintsizeWP

    (@pintsizewp)

    My indent was not preserved. Let me see if I can make it work here:
    November 2, 2020
    (indent here) Energy field of potential activity; etc.

    Plugin Contributor zymeth25

    (@zymeth25)

    You can do it in CSS.

    .lcp_excerpt::before {
        content: "";
        display: inline-block;
        width: 20px;
    }

    Cheers

    Thread Starter pintsizeWP

    (@pintsizewp)

    Thanks for your reply. Unfortunately, no luck. I added it to Custom CSS and nothing changed. CSS checker gives this error:
    Unexpected token ‘&’ at line 228, col 14
    Expected RBRACE at line 228, col 20.

    I am using Custom CSS section successfully for other changes, so I don’t think this is operator error, but it’s always possible I’m doing something wrong.

    Plugin Contributor zymeth25

    (@zymeth25)

    I have tested it on your site with developer tools and it worked. Maybe copy paste is somehow bugged, try retyping this manually into Additinal CSS section.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.