Announcement

Collapse
No announcement yet.

How to make round avatars in vB5

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • montana rover
    replied
    Thanks Glen!

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by montana rover View Post

    Just tried it in default. No good. Site is open now. Thanks.
    I checked your site and I noticed that your custom css has this text "Note:This code is based off the vB5 Default Style. If you have a highly customized" which breaks the round avatar CSS. I think you got it from another mod which is the Horizontal Postbit Layout. That text is not part of the CSS and should not be included in the CSS. If a CSS code has some text description, it should be enclosed in /* and */ tags so that CSS parser ignores it and treats it as a comment.


    Leave a comment:


  • montana rover
    replied
    Originally posted by glennrocksvb View Post
    Did you try in the default style? I can't check your site right now as I'm not on a desktop and guest access is restricted on your site.
    Just tried it in default. No good. Site is open now. Thanks.

    Leave a comment:


  • glennrocksvb
    replied
    Did you try in the default style? I can't check your site right now as I'm not on a desktop and guest access is restricted on your site.

    Leave a comment:


  • montana rover
    replied
    Did not work for me. I even tried a different theme.

    Leave a comment:


  • Menderley
    replied
    Thank you. Looks so nice

    Leave a comment:


  • rnedelkow
    commented on 's reply
    I think I got it Glenn. This did the trick:

    .b-avatar--m > img, /* mobile avatar size =60 */
    .b-userinfo .b-avatar--m > img {
    max-height: 60px !important;
    max-width: 60px !important;
    height: 60px !important;
    width: 60px !important;
    }
    .b-userinfo__details { /* mobile user details to right of avatar */
    margin-left:0px;
    display:none;
    }

  • glennrocksvb
    commented on 's reply
    I need access to your site to take a look at the issue.

  • rnedelkow
    replied
    The changes worked on desktop but it also moved the profile fields in the postbit when viewed on mobile. Profile fields shifted onto the avatar like this:

    Click image for larger version  Name:	Screenshot_2017-08-08-10-00-05.png Views:	1 Size:	465.3 KB ID:	5781

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    You're welcome. Thanks for the appreciation
    😊

  • Dotti
    replied
    Glenn, I just wanted to say how much I appreciate YOU. You are always there to help when you can. Thank you.

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    Glad to help. 😉

  • rnedelkow
    replied
    Like a charm, Glenn. Thank you for looking into this for me.

    Leave a comment:


  • glennrocksvb
    replied
    Ok rnedelkow

    Replace this CSS code in css_additional template in AdminCP or Style > CSS Editor in Sitebuilder:
    Code:
    .avatar,
    .b-avatar,
    .b-avatar--thread {
        border: 0;
    }
    with:
    Code:
    .avatar,
    .b-avatar,
    .b-userinfo .b-avatar--thread {
        border: 0;
    }
    And this:
    Code:
    .b-avatar--m > img {
        max-height: 115px !important;
        max-width: 115px !important;
        height: 115px !important;
        width: 115px !important;
    }
    with:
    Code:
    .b-avatar--m > img,
    .b-userinfo .b-avatar--m > img {
        max-height: 115px !important;
        max-width: 115px !important;
        height: 115px !important;
        width: 115px !important;
    }

    Leave a comment:


  • rnedelkow
    replied
    PM sent and I'm on 5.2.5. Thanks Glenn.

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"