-
AuthorPosts
-
fmfame Friend
fmfame
- Join date:
- October 2013
- Posts:
- 228
- Downloads:
- 4
- Uploads:
- 39
- Thanks:
- 8
- Thanked:
- 25 times in 1 posts
November 6, 2013 at 2:34 pm #192022Hello 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..
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 7, 2013 at 4:05 pm #511498Hi 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 Friendfmfame
- Join date:
- October 2013
- Posts:
- 228
- Downloads:
- 4
- Uploads:
- 39
- Thanks:
- 8
- Thanked:
- 25 times in 1 posts
November 7, 2013 at 10:48 pm #511553I 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..?
- phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 8, 2013 at 2:36 am #511563Hi 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 Friendfmfame
- Join date:
- October 2013
- Posts:
- 228
- Downloads:
- 4
- Uploads:
- 39
- Thanks:
- 8
- Thanked:
- 25 times in 1 posts
November 8, 2013 at 6:21 pm #511661Hi,
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 Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 12, 2013 at 2:42 am #511908Hi 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 Friendfmfame
- Join date:
- October 2013
- Posts:
- 228
- Downloads:
- 4
- Uploads:
- 39
- Thanks:
- 8
- Thanked:
- 25 times in 1 posts
November 15, 2013 at 12:34 pm #512365No 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 fixelAnd this is with the img {max-width: none}
-
AuthorPosts
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
Jump to forum
jomsocial avatar sizing popup window problems with ja_fixel
Viewing 7 posts - 1 through 7 (of 7 total)