-2
<div class="post-meta vcard">
    <p>, 
        <a href="http://google.com" rel="tag">Paris</a>, 
        <a href="http://google.com" rel="tag">France</a>
    </p>
</div>

As you see, the first row includes a comma, thus the output is ", Paris, France"

How would I get rid of/hide the first comma and space, while also keeping this list centered. I can only edit via CSS for this.

Codepen here

dzimiks
  • 329
  • 1
  • 3
  • 14

1 Answers1

0

You literally have two commas here at the end:

<div class="post-meta vcard"><p>, 
<a href=" http://google.com " rel="tag">Paris</a>,  

For centering your list, just use text-align: center in your css code.

dzimiks
  • 329
  • 1
  • 3
  • 14