Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • joostwanetie Friend
    #164247

    How can i change the width of User 5,6,7. The code for it in the templates detail is;

    <block name="botsl-1" type="spotlight" main-inner="1">user5,user6,user7,user8,user9,user10</block>

    pritam Friend
    #392217

    Hello,

    To change the Width of User 5,6,7

    goto admin login -> template manager-> ja_portfolio-> layout->default-> edit-> use below line

    <block name=”botsl-1″ type=”spotlight” main-inner=”1″ width=”20%”>user5,user6,user7</block>

    save and then see the changes .

    joostwanetie Friend
    #392246

    It works, but not the way i thinked. I want this;

    User 6 (20 %) | User 7 (20%) | User 8 (20%) | User 9 (40 %)

    How can i make it so?

    thank you

    khoand Friend
    #392257

    You try this:

    <block name="botsl-1" type="spotlight" main-inner="1" special="right" specialwidth="40">user6,user7,user8,user9</block>

    joostwanetie Friend
    #392469

    It works, thanks!

    akujix Friend
    #395014

    Hello!

    Help with setting the width of the blocks user1 and user2. user1 should have a width of 780px. The width of user2 100% and should vary depending on screen resolution. With a screen resolution of 1280 * 1024 block of user1 closes unit user2 :(.

    Thank you for your help.

    Google Translate(c)

    khoand Friend
    #395212

    Hi,
    Width of user1, user2 is defined by percent, not pixel

    khoand Friend
    #395228

    You try a way:
    You replace this code from pluginssystemjat3jat3base-themesdefaultblocksspotlight.php


    <?php if( $this->countModules($pos) ): ?>

    with

    <?php if( $this->countModules($pos) ):
    if ($pos == "user1") $botsl[$pos]['width'] = "780px";
    else if ($pos == "user2") $botsl[$pos]['width'] = "500px";

    akujix Friend
    khoand Friend
    #395338

    Hi,
    Could you give me a link to your website?

    akujix Friend
    #395395

    Hi,
    sorry. The website is in localhost. With Internet access do not have to yet.

    khoand Friend
    #395437

    You try another way:
    – You restore pluginssystemjat3jat3base-themesdefaultblocksspotlight.php file
    – Login backend > Extensions > Template manager > your_template > layout tab > edit default layout. Replace this code

    <block name="topsl" type="spotlight" style="raw" main-inner="1">user1,user2</block>

    with

    <block name="topsl" type="spotlight" style="raw" main-inner="1" special="left" specialwidth="61">user1,user2</block>

    user1 position has width is 780px is equivalent 61%, so specialwidth=”61″

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

This topic contains 12 replies, has 4 voices, and was last updated by  khoand 13 years, 5 months ago.

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