Jump to content

Styling author profile

Go to solution Solved by Web_Solutions,

Recommended Posts

Posted

Hello, my current author profile looks kinda like this (attached - Dipanjan Pal) image.thumb.png.b9d5df1730ec135cacaaa58421bbc462.png

 

I want it style it better to make it look like my friend Jeroen (attached below) 

image.thumb.png.150ad0c41c90be6df7aae177e679f8b2.png

 How can I do that with CSS? 

Link to one of my blog post - https://bluebird-tuba-waaw.squarespace.com/blog/5lgwk48at7h6pe6rm2omsnco6lgyqc
Link to Jeroen's blog post - https://jvn.photo/black-friday-weekend-2023/

 

Also, I'd like the tags to be look like buttons on hover like Jeroen's website. Can anyone please also help me with that?

  • Solution
Posted
On 11/27/2023 at 2:16 AM, dipanjanpal said:

Hello, my current author profile looks kinda like this (attached - Dipanjan Pal) image.thumb.png.b9d5df1730ec135cacaaa58421bbc462.png

 

I want it style it better to make it look like my friend Jeroen (attached below) 

image.thumb.png.150ad0c41c90be6df7aae177e679f8b2.png

 How can I do that with CSS? 

Link to one of my blog post - https://bluebird-tuba-waaw.squarespace.com/blog/5lgwk48at7h6pe6rm2omsnco6lgyqc
Link to Jeroen's blog post - https://jvn.photo/black-friday-weekend-2023/

 

Also, I'd like the tags to be look like buttons on hover like Jeroen's website. Can anyone please also help me with that?

Here is the code

.blog-item-author-profile-wrapper {
    background: rgba(0,0,0,.04);
    padding: 20px 30px 30px !important;
    .author-name {
        font-size: 22px !important;
    }
    .author-bio p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }
    .author-avatar {
        width: 60px !important;
        height: 60px !important;
    }
    .author-avatar img {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
    }
}
@media only screen and (min-width: 691px) {
    .blog-item-author-profile-wrapper {
        padding-left: 140px !important;
        padding-top: 30px !important;
        align-items: flex-start !important;
        position: relative !important;
    }
    .blog-item-author-profile-wrapper *{
        text-align: left !important;
    }
    .author-name {
        margin-top: 0 !important;
    }
    .blog-item-author-profile-wrapper .author-avatar {
        position: absolute !important;
        left: 30px !important;
        top: 50% !important;
        transform: translateY(-50%);
        margin: 0 !important;
        width: 80px !important;
        height: 80px !important;
    }
}

 

Screenshot_432.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Posted (edited)
2 hours ago, Web_Solutions said:

Here is the code

.blog-item-author-profile-wrapper {
    background: rgba(0,0,0,.04);
    padding: 20px 30px 30px !important;
    .author-name {
        font-size: 22px !important;
    }
    .author-bio p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }
    .author-avatar {
        width: 60px !important;
        height: 60px !important;
    }
    .author-avatar img {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
    }
}
@media only screen and (min-width: 691px) {
    .blog-item-author-profile-wrapper {
        padding-left: 140px !important;
        padding-top: 30px !important;
        align-items: flex-start !important;
        position: relative !important;
    }
    .blog-item-author-profile-wrapper *{
        text-align: left !important;
    }
    .author-name {
        margin-top: 0 !important;
    }
    .blog-item-author-profile-wrapper .author-avatar {
        position: absolute !important;
        left: 30px !important;
        top: 50% !important;
        transform: translateY(-50%);
        margin: 0 !important;
        width: 80px !important;
        height: 80px !important;
    }
}

 

Screenshot_432.png

Thank you so much for your solution!

 

Is there any way to add "Written by" before my name and make my name in bold letters?

Also, how can I add the social icons in the bottom?

Edited by dipanjanpal
Posted
2 hours ago, dipanjanpal said:

Thank you so much for your solution!

 

Is there any way to add "Written by" before my name and make my name in bold letters?

Also, how can I add the social icons in the bottom?

See the first attached image. Replace the marked code with the code below.

.author-name {
    font-size: 22px !important;
    font-weight: bold;
}
.author-name:before {
    content: "Written by ";
    font-weight: normal !important;
}

 

Screenshot_434.png

Screenshot_433.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.