Edit CSS theme Apostrophe

  • Unknown's avatar

    Hi Laurent,

    Try adding this to your custom CSS:

    .wp_widget_tag_cloud a {
      font-size: 1.6rem!important;
      line-height: 1.4;
    }
  • Unknown's avatar

    Great ! It works, thank you!
    I would not ask too much, but is it possible to automatically add a | – • (or other character) between each tag to separate them?
    Thank you
    Laurent

  • Unknown's avatar

    Replace the code I gave you before with this:

    .wp_widget_tag_cloud a {
      font-size: 1.6rem!important;
      line-height: 1.4;
      text-decoration: none;
    }
    .wp_widget_tag_cloud a::after {
      content: " | ";
    }
    .wp_widget_tag_cloud a:last-child::after {
      content: "";
    }

    It’s basically the same but it removes the underlines too – the text we’re adding is basically just part of the existing links so it looks weird all underlined. Feel free to change the separator to whichever character you like although if what you pick doesn’t work you might have to use a character code instead of just typing it in.

    Let me know if you have trouble.

  • Unknown's avatar

    I found !

    .wp_widget_tag_cloud a:after {
    content:” • “
    }

  • Unknown's avatar

    I had not seen your previous answer! Thank you !

  • The topic ‘Edit CSS theme Apostrophe’ is closed to new replies.