test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • troponin Friend
    #182589

    Hey,

    how can I enlarge the Template Width without destroying the span settings ?

    Ninja Lead Moderator
    #474352

    You can configure it in backend settings of this template:
    <blockquote>Admin area ->Extensions->Template Manager->JA Template->Layouts tabs->Default</blockquote>
    find and change from

    main-inner="1"
    to

    no-main="1"
    Ex:
    from

    <block name="mainnav" type="mainnav" main-inner="1"></block>
    change to

    <block name="mainnav" type="mainnav" no-main="1"></block>

    troponin Friend
    #474708

    <em>@Ninja Lead 348090 wrote:</em><blockquote>You can configure it in backend settings of this template:

    find and change from

    main-inner="1"

    to

    no-main="1"

    Ex:
    from

    <block name="mainnav" type="mainnav" main-inner="1"></block>

    change to

    <block name="mainnav" type="mainnav" no-main="1"></block>
    </blockquote>

    THX – but I am talking about the V3 and not about V2

    truonglychoi Friend
    #474799

    thank you.meal hours kept tinkering not

    Ninja Lead Moderator
    #474818

    JAT3v3 is using less & bootstrap and you change “Template Width” on this file
    <blockquote>templates/ja_template/less/variables.less</blockquote>
    You could find this:

    // Default 940px grid
    // -------------------------
    @T3gridWidth: 940px; // T3 add. For non-responsive layout.
    @gridColumns: 12;
    @gridGutterWidth: 40px;
    @gridColumnWidth: floor((@T3gridWidth - @gridGutterWidth * (@gridColumns - 1)) / @gridColumns);
    @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

    // 1200px min
    @T3gridWidth1200: 1200px; // T3 add
    @gridGutterWidth1200: 40px;
    @gridColumnWidth1200: floor((@T3gridWidth1200 - @gridGutterWidth1200 * (@gridColumns - 1)) / @gridColumns);
    @gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));

    // 980px-1199px
    @T3gridWidth980: 940px; // T3 add
    @gridGutterWidth980: 40px;
    @gridColumnWidth980: floor((@T3gridWidth980 - @gridGutterWidth980 * (@gridColumns - 1)) / @gridColumns);
    @gridRowWidth980: (@gridColumns * @gridColumnWidth980) + (@gridGutterWidth980 * (@gridColumns - 1));

    // T3 Add: 768px-979px
    @T3gridWidth768: 740px; // T3 add
    @gridGutterWidth768: 20px;
    @gridColumnWidth768: floor((@T3gridWidth768 - @gridGutterWidth768 * (@gridColumns - 1)) / @gridColumns);
    @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));

    shibaevvv Friend
    #481894

    I use a template T3V3 Blank and Kunena forum.
    responsive layout is on.
    everything looks fine, except for mobile layout
    Section # ja-mainbody lacks the width to display the full width forum
    How can I increase the width only mobile layout?
    (normal, wide, xtablet, tablet – it’s great)

    Here is the link to the forum, you can see from the mobile phone
    jk-vozrojdenie.ru/forum

    Ninja Lead Moderator
    #481960

    You can find it here
    <blockquote>templates/ja_t3v3_blank/less/variables.less</blockquote>
    Width

    / T3 Add: 768px-979px
    @T3gridWidth768: 740px; // T3 add
    @gridGutterWidth768: 20px;
    @gridColumnWidth768: floor((@T3gridWidth768 - @gridGutterWidth768 * (@gridColumns - 1)) / @gridColumns);
    @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));

    and less file for mobile device is here

    <blockquote>templatesja_t3v3_blanklessstyle-responsive.less</blockquote>

    After you changed on LESS file you need to compile LESS to CSS on JA Template.

    P/S: all custom work on your site will be drop you need to be careful backup it

    shibaevvv Friend
    #482154

    I came up with another way. Determine which file is loaded at css mobile browser in this css insert style reduces unnecessary tables.
    Tell what css is loaded when browsing through the mobile browser?

    Ninja Lead Moderator
    #482265

    You don’t tell me where do you change mobile layout on your template? You can find css files are working with mobile layout

    <blockquote>templates/ja_t3v3_blank/less</blockquote>
    With

    home-responsive.less
    joomla-responsive.less
    megamenu-responsive.less
    navigation-responsive.less
    style-responsive.less
    template-responsive.less

    About general you can put it into template-responsive.less file

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

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

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