Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • peli Friend
    #1059731

    Hello

    In Thememagic I have configured desktop layout with 1400px and the template looks good, but bottom scrollbar appears in some computers with an screen resolution beetween 970 and 1400px

    Is there a way to configure Teline V grid layout to increase the width of the screen in desktop from 1170px to 1600px (better than 1400px), and remain be responsive, like JA_Company template is in all screen sizes?

    Thank You

    Saguaros Moderator
    #1059783

    Hi peli,

    You can change the width of container in template via this file: root/templates/ja_teline_v/less/variables.less

    look for this declaration:

    // Container sizes
    // --------------------------------------------------
    
    // Small screen / tablet
    @container-tablet:             ((720px + @grid-gutter-width));
    @container-sm:                 @container-tablet;
    
    // Medium screen / desktop
    @container-desktop:            ((940px + @grid-gutter-width));
    @container-md:                 @container-desktop;
    
    // Large screen / wide desktop
    @container-large-desktop:      ((1140px + @grid-gutter-width));
    @container-lg:                 @container-large-desktop;
    

    and change the value for container-large-desktop variable.

    In JA Company template, we define additional variable called ‘container-hd’ and it looks like this:

    // Container sizes
    // --------------------------------------------------
    
    // Small screen / tablet
    @container-tablet:             ((720px + @grid-gutter-width));
    @container-sm:                 @container-tablet;
    
    // Medium screen / desktop
    @container-desktop:            ((940px + @grid-gutter-width));
    @container-md:                 @container-desktop;
    
    // Large screen / wide desktop
    @container-large-desktop:      ((1140px + @grid-gutter-width));
    @container-lg:                 @container-large-desktop;
    
    // HD Screen
    @container-hd:      1600px;

    Remember that when you change via this less file, if your template is running with Development Mode (config via Template manager), just refresh to see the change. But if Dev Mode is OFF, you will have to compile less to css to see the change. And remember to backup all css files first before compiling.

    peli Friend
    #1059821

    Hello,

    Thank you for your answer. But the behaviour is the same: now the container is wide but bottom scrollbar appears in 1366px screen resolution, frequently used in laptops.

    Saguaros Moderator
    #1059866

    It seems that you added a new block above the main content and this has margin: http://prntscr.com/gfqm00

    Try to remove it and check again.

    peli Friend
    #1059885

    I have create a new installation only with Quickstart package and made the changes you say:

    sf.test2014.com

    The screen is now wider (1600px), but the bottom scroll bar appears. Is this template full responsive?

    http://gesdi.com/responsivator/?site=sf.test2014.com


    1. template
    peli Friend
    #1059962

    Hello,

    I have included this code in custom.css and it looks work fine.

    Thank you

    body .container {
      width: 100%;
      max-width: 1600px;
    }
    Saguaros Moderator
    #1060368

    Glad to hear it works now!

    Cheers!

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

This topic contains 6 replies, has 2 voices, and was last updated by  Saguaros 7 years ago.

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