Support » Plugin: Co-Authors Plus » Space between names

  • Resolved estorus

    (@estorus)


    Hello. I got a problem with author names. Name1,Name2andName3… there can I add space between names?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Estorius,

    I’ve had the same issue and could fix it with the following css code:

    a.author.url.fn:before,
    a.author.url.fn:nth-last-child(2):after {
        content: " ";
    }

    This code adds a whitespace character before every author name and a whitespace character before the word “and” like so:
    Name1,Name2andName3
    -> becomes ->
    Name1, Name2 and Name3

    The added whitespace character before the first name gets omitted by the browser automatically. It also works with any other language.

    Hope this helped!

    Hello sublines,

    Thank you for your reply. Sorry, but witch one of css files better to edit?

    You can paste this code into your child themes css file or use a plugin to add custom code to your theme (see how).

    Thank you. Work great 😀

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Space between names’ is closed to new replies.