Site logo

Archived topic

Author Box

3 replies · Started by Jodie on April 12, 2019

Viewing posts 1–4 of 4

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

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

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

Cheers Jodie

Awesome! Glad I could help :)

This archived topic is closed to new replies.