Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1376664

    Hi,
    I am editing the tag cloud and need to add a vertical hyphen between each tag for a client. (I have changed the CSS for the borders).
    Could you direct me on which piece of PHP to change to do this, I presume in function.php in the child theme.
    If you can help me with this, you are legends!
    Cheers!

    #1376717

    Hey,

    Thanks for contacting us!

    Could you please add following code to bottom of Quick CSS

    
    .tagcloud a:not(:last-child)::after {
      content: " -";
    }
    

    If that does not help, could you please post a screenshot showing the changes you would like to make? I would personally recommend a CSS solution whenever possible over editing PHP files :)

    Best regards,
    Yigit

    #1376804

    Hey Yigit,

    Thanks for that, you can close this now!

    All the very best to you and your colleagues!

    #1376809

    Hi,

    I am glad that worked! All the best to you too!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Edit tag cloud in PHP’ is closed to new replies.