-
AuthorPosts
-
avrik Friend
avrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 10:21 am #204625Hi
i was looking in the forum and didnt found an answer.
i use JA Nuevo, in the Inner pages the JA_Nuevo – Default is selected.the JA Masshead works fine but i need to reduce the Height of the image from 1600X430px to 1600X200px.
if i change it without change in code it post only a part of the image.
Please your help.
Thanks
Avrik
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 6:11 pm #562993Are you talking about the “sliding” image of the dancers in the center of your home page?
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 6:54 pm #562996no, about the fix pic in all the other pages.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 7:05 pm #562997Just inspected the CSS relative to the image – which is a background image – and it appears the image is, in fact, 1600×200
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 7:15 pm #562999in the template.css is only the file name , no size , i cant find the place that have the image size/
Thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 7:23 pm #563000In the following CSS rule, it shows the file path for the background image you’re using . . .
.jamasshead {
background: url("/cndi/templates/ja_nuevo/images/bg-masthead.jpg") no-repeat scroll 0 0 / cover rgba(0, 0, 0, 0);
padding: 115px;
text-align: center;
}If you inspect that image within an image editor (i.e. photoshop) – or even just right click on the image and select “properties.” it should show you that the image is 1600×200. That’s what it is telling me when I inspect the CSS rule (and image link) via Firebug.
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 7:35 pm #563002the image you see is a new one i put in the site , its size is 1600X200 but its streched to 1600X430
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 7:54 pm #563004Okay, do me a favor . . . . temporarily set “Optimize CSS” to “Off” within your Template Manager–General settings.
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 8:22 pm #563010ok done, Optimize CSS off
can it be the parameters of the JA Masshead module position?
ThanksTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 8:39 pm #563013Try This . . . .
Within file path —> /templates/ja_nuevo/local/css/themes/cndi-d/template.css
at line 5914, ass a “height” property – as follows:
.jamasshead {
background: url("../../../../images/bg-masthead.jpg") no-repeat scroll 0 0 / cover rgba(0, 0, 0, 0);
height: 200px;
padding: 115px;
text-align: center;
}SAVE CHANGES – CLEAR CACHE -REFRESH PAGE
Is that the result you were looking for?
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 8:57 pm #563015Ok its a lot better, but stil not use all the image size.
in the original image of the JA_Nuevo its shrink the image from 1600 to the actual screen size.
Thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 9:13 pm #563017How are things supposed to display?
Maybe throw together a screenshot mockup?
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
March 13, 2015 at 9:22 pm #563019this is the new image 1600X200
the print screen show the old image 1600X430 (cut to 200px after the last change)
it should look like the print screen with the new image
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 13, 2015 at 9:28 pm #563020Honestly, I ‘m not sure you’re going to be able to get a uniform display for all screen resolutions the way your background image is at this moment. However, I’m going to throw this out to my Support Team colleagues for a look and further comment.
avrik Friendavrik
- Join date:
- January 2006
- Posts:
- 15
- Downloads:
- 7
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
-
AuthorPosts
This topic contains 18 replies, has 4 voices, and was last updated by Ninja Lead 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum