-
AuthorPosts
-
freissmann Developer
freissmann
- Join date:
- February 2011
- Posts:
- 294
- Downloads:
- 0
- Uploads:
- 71
- Thanks:
- 79
- Thanked:
- 29 times in 1 posts
October 16, 2013 at 2:15 pm #191434We want to position “grey steps” as an image within navhelper position. There are two problems we do face:
a) Where is referring css file located (.ja-navhelper) and what’s the correct css statement?
.ja-navhelper { background: url("/images/layout/steps.PNG"); background-position: bottom; }
b) Background image is not resizing when switching to other screen resolutions
Any ideas how to achieve this? (dev site can be found here)
Thanks in advance.
Frank
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 16, 2013 at 4:24 pm #509194I believe what you need to do is make your background image responsive to/for different screen resolutions.
Here are some helpful resources for how to achieve responsive images in CSS . . . .
http://mobile.smashingmagazine.com/2013/07/22/simple-responsive-images-with-css-backgrounds/
http://webdesign.about.com/od/css3tutorials/a/browser-size-cover.htm
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 17, 2013 at 8:17 am #509290Hi Frank,
My below solution will help you to find it
1) .ja-navhelper
Open templates/ja_brisk/less/navigation.less file
Find and see it
.ja-navhelper {
background: lighten @grayDarker,5%);
color: @gray;
}
2) Background image will be automatically resized
Open templates/ja_brisk/less/style.less file
Add new script
@media (max-width: 767px) {
.ja-masshead h3 {
font-size: 2.333em !important;
width: auto !important;
}
}Regards
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 3 voices, and was last updated by Ninja Lead 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Background-Image for navhelper position
Viewing 3 posts - 1 through 3 (of 3 total)