Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • pask Friend
    #192327

    please help me!

    I can not define and lock the size of the columns on the left and right.

    kindly tell me how I can fix.

    thanks


    1. column
    pavit Moderator
    #512484

    Hi

    Did you checked at the wiki ?

    You can set the width from template manager – Layout Tab

    pask Friend
    #512485

    <em>@pavit 398235 wrote:</em><blockquote>Hi

    Did you checked at the wiki ?

    You can set the width from template manager – Layout Tab</blockquote>

    I saw it but do not know how to set the code you help me?

    I only change this code or other?

    <blockquote><?xml version=”1.0″ encoding=”utf-8″?>
    <layout name=”desktop”>
    <!–Extra css load for this layout–>
    <stylesheets>
    <file>css/template.css</file>
    <file media=”only screen and (max-width:719px)”>css/layout-mobile.css</file>
    <file media=”only screen and (max-width:479px)”>css/layout-mobile-port.css</file>
    <file media=”only screen and (min-width:720px) and (max-width: 985px)”>css/layout-tablet.css</file>
    </stylesheets>
    <blocks name=”top” style=”xhtml”>
    <block name=”absolute” type=”modules” style=”raw”>absolute</block>
    <block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top-panel</block>
    <block name=”header” type=”header” main-inner=”1″></block>
    <block name=”mainnav” type=”mainnav” main-inner=”1″></block>
    <block name=”cpanel” type=”usertools/cpanel”></block>
    <block name=”masshead” style=”raw” no-main=”1″>masshead</block>
    <block name=”slideshow” style=”raw”>slideshow</block>
    <block name=”topsl” type=”spotlight”>user1, user2, user3, user4</block>
    <block name=”topsl1″ type=”spotlight”>user5, user6, user7, user8</block>
    <block name=”topsl2″ type=”spotlight”>user9, user10, user11, user12</block>
    </blocks>
    <blocks name=”middle” colwidth=”25″>
    <block name=”content-mass-top”>content-mass-top</block>
    <block name=”left1″>left</block>
    <block name=”right2″>position-7</block>
    </blocks>
    <blocks name=”bottom” style=”xhtml”>
    <block name=”botsl” type=”spotlight”>user13, user14, user15, user16</block>
    <block name=”botsl1″ type=”spotlight”>user17, user18, user19, user20</block>
    <block name=”botsl2″ type=”spotlight”>user21, user22, user23, user24</block>
    <block name=”navhelper” type=”navhelper”></block>
    <block name=”footer” type=”footer”></block>
    </blocks>
    </layout></blockquote>

    help
    thanks

    pavit Moderator
    #512486

    Hi

    You need to change the code there

    <blocks name="middle" colwidth="25">
    <block name="content-mass-top">content-mass-top</block>
    <block name="left1">left</block>
    <block name="right2">position-7</block>
    </blocks>

    That means column width = 25% content between 2 columns width = 50%

    So to change the width you need to change colwidth=”25″

    If you instead want to assign a custom width to the column, you need to specidy the width for the specific column

    Example: <block name=”right2″ width=”40″>position-7</block>

    This will assign a 40% width to the right2 column/position and remaining 20% to content and left1 position

    pask Friend
    #512487

    ok thanks for the reply

    but if you wanted to fix the columns in px I could do it this way?

    <blockquote><blocks name=”middle” colwidth=”25″>
    <block name=”content-mass-top” width=567px; max-width=567px; margin=0 auto; position=absolute;>content-mass-top</block>
    <block name=”left1″ width=215px; height=349px; max-width=215px; margin=0 auto; position=absolute;>left</block>
    <block name=”right2″ width=215px; height=349px; max-width=215px; margin=0 auto; position=absolute;>position-7</block>
    </blocks></blockquote>

    thanks

    pask Friend
    #512724

    you can do?

    otherwise how can I fix…

    thanks

    phong nam Friend
    #512766

    @pask: On the T3v2 template layout, we just only support to define the column width parameters in percent, not pixel. The block layouts will be collapsed when you define the column width as you did.

    The solution is defining the coldwidth with percent and define the module positions with exact pixel width you want. You can put the css styles into templates/ja_university/css/template.css file.

    pask Friend
    #512844

    Hi Leo Burnetts,

    thanks for the reply!!!

    in which line can define the size of the file: templates/ja_university/css/template.css

    height and width of the left center right

    I could post the code??

    thanks
    Pask

    phong nam Friend
    #512964

    Hi Pask,

    You can send PM with the site’s url and tell me the block/position ‘s names with their exact width/height you want to apply ?

    I will check and give you the suitable css styles so that you can put into template.css file.

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

This topic contains 9 replies, has 3 voices, and was last updated by  phong nam 11 years ago.

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