Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • thkellmann Friend
    #208993

    Hello everybody,

    i hide the k2 search input field with follow code in the custom css.

    li.form-group:nth-child(1) {display:none;}

    The Filter width size it?s after hide the input field to big. I found no way to shrink the k2 search filter.

    Ninja Lead Moderator
    #577904

    Add the css style below into custom.css file

    @media (min-width: 1200px) {
    .t3-section.has-slideshow .search-now, .t3-sidebar.has-slideshow .search-now {
    width: 70% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    }

    .t3-section .search-now div ul.horizontal-layout li, .t3-sidebar .search-now div ul.horizontal-layout li {
    width: 40% !important;
    }

    .t3-section .ja-k2filter.form-horizontal, .t3-sidebar .ja-k2filter.form-horizontal {
    padding: 0 0px 0 50px !important;
    }
    }

    The problem on your site will be gone.

    thkellmann Friend
    #577958

    Hello Ninja,

    thanks for you support, i copy your code in the css and it works fine. Only in some responsive resolutions i have problem. It?s anytime in the portrait view, the landscape view works fine. It?s possible to fix that`?

    Ninja Lead Moderator
    #578109

    Yes, my custom above only works with width larger than 1200px, if you want to make it with all responsive resolutions, you can define as

    // with width 768px @media (min-width: 768px) {
    }

    // with width 800px @media (min-width: 800px) {
    }

    // with width 980px @media (min-width: 980px) {
    }

    // with width 1920px @media (min-width: 1920px) {
    }

    and change the value in red for each resolution


    .t3-section.has-slideshow .search-now, .t3-sidebar.has-slideshow .search-now {
    width: 70% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    }

    .t3-section .search-now div ul.horizontal-layout li, .t3-sidebar .search-now div ul.horizontal-layout li {
    width: 40% !important;
    }

    .t3-section .ja-k2filter.form-horizontal, .t3-sidebar .ja-k2filter.form-horizontal {
    padding: 0 0px 0 50px !important;
    }

    Hope it helps

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

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 10 months ago.

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