[Resolved] Custom tag appearance

Home Forums Support [Resolved] Custom tag appearance

Home Forums Support Custom tag appearance

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

    I’m trying to get my tag cloud to look like the tag cloud here: http://www.kwernerdesign.com/blog/

    I was able to style it as far as it was by using the PHP Tom provided in this thread: https://generatepress.com/forums/topic/how-to-style-tags-and-tag-cloud/ ,
    and I added this custom bit in CSS:

    .tagcloud a {
    border: 1px solid;
    border-color: #86d1d2;
    font-size: 14px;

    But the border is way too close to the text, and doesn’t space out at all, like in the first link.

    #572004
    Leo
    Staff
    Customer Support

    Hi there,

    To create something like the example, try this CSS:

    .tagcloud a {
        background-color: #000;
        padding-left: 5px;
        padding-right: 5px;
    }

    Let me know.

    #572885
    Clare

    I figured out I had to customize the line-height as well, because just adding the padding didn’t clean it up enough. Thanks for your help, Leo!

    #572906
    Leo
    Staff
    Customer Support

    No problem!

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