Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • fmfame Friend
    #192022

    Hello look at the picture. If i want to resize picture avatar the thumnail live view at the bottom does not work properly. look at the picture.

    With standard protostar template that works fine..


    1. Bildschirmfoto-2013-11-04-um-19.15.18
    phong nam Friend
    #511498

    Hi fmfame,

    In this case, you can set the resized size of avatar picture on Jomsocial wall by creating a custom.css file at templates/ja_fixel/css/ path and put below css style into:

    #community-wrap img {
    width: 110px;
    }

    fmfame Friend
    #511553

    I have done but the problem already exists.

    I think that it is anything with a “max-width:none” css line, which is overridden from the template style.. in fixel template
    i found this:

    and in protostar template where i dont have any problems i saw this:

    Now you can see that in element.style is the max-width:none line overridden by anything…

    Now i tried this in fixel template:

    look at the line at img { .. i inactivated the max-width:100% and the max-width:none from element style is active and the problem is solved.
    But i can not change in template the important img{} css styles..

    What could i do now without changing this important parameter?

    What could that be..? Or how could i set in the community style first priority or anything..?


    1. Bildschirmfoto-2013-11-07-um-23.39.44
    2. Bildschirmfoto-2013-11-07-um-23.40.57
    3. Bildschirmfoto-2013-11-07-um-23.43.06
    4. Bildschirmfoto-2013-11-07-um-23.45.29
    phong nam Friend
    #511563

    Hi fmfame,

    <blockquote>What could i do now without changing this important parameter? What could that be..? Or how could i set in the community style first priority or anything..?
    </blockquote>
    You can override the max-width of our template image by open components/com_community/templates/default/css/style.css file:

    body #cWindow img{max-width:100%;width:auto9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}

    Then change max-width:100%; to max-width: none !important;

    fmfame Friend
    #511661

    Hi,

    no the css style.css is already by element.style overridden..

    tried it but i have to change img in template.css in ja_fixel

    phong nam Friend
    #511908

    Hi fmfame,

    I have tried to resize the avatar thumbnail of Test user and it worked fine. In addition, i also realized that you put a incorrect css property in /templates/ja_fixel/css/themes/light/template.css at lines:

    img {
    max-width: auto !important;
    }

    It should be none or a fixed property, not auto.

    fmfame Friend
    #512365

    No thats not the solution!

    If i do this, then i got viewing problems on home grid..
    This is with the img {max-width: auto which is standard in ja fixel

    And this is with the img {max-width: none}


    1. Bildschirmfoto-2013-11-15-um-13.31.29
    2. Bildschirmfoto-2013-11-15-um-13.30.59
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  fmfame 11 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum