[Resolved] Author Box

Home Forums Support [Resolved] Author Box

Home Forums Support Author Box

  • This topic has 3 replies, 2 voices, and was last updated 5 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #867491
    Jodie

    Hi Tom, David and Leo

    Through searching the forum posts I found code you’d said to place in a hook in Elements and CSS for the Author Box. Based on that I added the code and the following CSS to my site. ( Just a little bit pleased I could even get this far!!) And I was able to get the title to have weight ๐Ÿ™‚ However I would like there to be less space between the title and the text. How can I do this please? I have given a link to show you how it looks. As always your help is so appreciated.

    Cheers Jodie

    /*START of Author Box */
    .author-links a {
    font-size: 3em;
    line-height: 0.5em;
    float: right;
    }

    .author-box {
    padding: 4%;
    margin-top: 60px;
    font-size: 0.8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    }

    .author-box .avatar {
    width: 100px;
    border-radius: 100%;
    margin-right: 20px;
    }

    h5.author-title {
    margin-bottom: 0.5em;
    font-weight: 700;
    }
    /* END of Author Box

    #867554
    Tom
    Lead Developer
    Lead Developer

    Hi Jodie,

    Can you try this CSS instead?:

    /*START of Author Box */
    .author-links a {
        font-size: 3em;
        line-height: 0.5em;
        float: right;
    }
    
    .author-box {
        padding: 4%;
        margin-top: 60px;
        font-size: 0.8em;
    }
    
    .author-box .avatar {
        width: 100px;
        border-radius: 100%;
        margin-right: 20px;
        float: left;
    }
    
    h5.author-title {
        margin-bottom: 0.5em;
        font-weight: 700;
    }
    
    .author-summary {
        overflow: hidden;
    }
    /* END of Author Box
    #867862
    Jodie

    Thanks so much Tom, I’ve changed the CSS to what you gave me and that looks much better.

    Cheers Jodie

    #867969
    Tom
    Lead Developer
    Lead Developer

    Awesome! Glad I could help ๐Ÿ™‚

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