Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • freissmann Developer
    #191434

    We 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


    1. steps
    TomC Moderator
    #509194

    I 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://www.shutterstock.com/blog/2013/05/how-to-use-responsive-images-to-make-your-site-shine-on-any-platform

    http://webdesign.about.com/od/css3tutorials/a/browser-size-cover.htm

    Ninja Lead Moderator
    #509290

    Hi 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

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

This topic contains 3 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 6 months ago.

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