This topic has 6 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #53208
     giorgos
    Participant

    I use super socialiser for social login capabilities for KLEO and the member profile picture social avatar (linkedin below) gets a right margin of 10px that I want to get rid in order to center the social login avatar

    I try several ccs codes with no success so far. Any idea?

    Profile picture of giorgos

    http://www.applesocial.net/members/giorgos/

    #53213
     sharmstr
    Moderator

    I cant see your image attached. Nor can I see any issue on the link you provided.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #53215
     giorgos
    Participant

    Sorry, it is not the image, is the image html code without code tags 🙁 (inspect element on firefox). Now I have inserted the code tags. I hope it works.
    The link shows the profile image avatar with a margin-right 10px. Not centered.

    img src="https://media.licdn.com/mpr/mprx/0zzJ3" alt="Profile picture of giorgos" class="avatar avatar-social-login" style="float:left; margin-right:10px" height="150" width="150"

    #53216
     giorgos
    Participant

    I hope you can inspect the element of the profile image on your browser en provide the correct css that does not include the 10 px right margin

    #53221
     sharmstr
    Moderator

    When not logged in, the image is centered and there is no margin right. So, no, I cant see it 🙂

    You could try this

    COPY CODE
    
    #item-header-avatar .avatar {
        margin-right: -10px;
    }
    

    or this

    COPY CODE
    
    #item-header-avatar .avatar {
        margin-right: 0 !important;
    }
    

    Hopefully the second one works because as I said, it doesnt appear to be happening unless you are logged in.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #53269
     giorgos
    Participant

    Oops! Apologies, indeed I forget to clear the cache for the page 🙁 The second code worked fine.
    Much appreciate your help @sharmstr

    #53274
     sharmstr
    Moderator

    Great!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?