-
AuthorPosts
-
November 17, 2013 at 8:24 am #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
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 17, 2013 at 9:10 am #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
thankspavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
November 17, 2013 at 9:40 am #512486Hi
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
November 17, 2013 at 10:11 am #512487ok 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
November 19, 2013 at 1:20 pm #512724you can do?
otherwise how can I fix…
thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 19, 2013 at 7:44 pm #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.
November 20, 2013 at 11:26 am #512844Hi 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
Paskphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 21, 2013 at 9:22 am #512964Hi 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.
AuthorPostsViewing 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
column + content
Viewing 9 posts - 1 through 9 (of 9 total)