Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • bgies Friend
    #161171

    Ja-Portfolio JAT3-V2 Joomla 1.6

    I’m setting the template width to “Specified” 980px.. but it’s only setting the min-width. What I want is to set the min-width AND max-width. I’d also like to specify the main column at 732px, and the right column to whatever it needs to be to fit this.

    Any idea where I need to make changes? I’ve been setting properties in Firebug, but I can’t seem to find the right setting to do this without causing some other issues.

    Sherlock Friend
    #380490

    Dear bgies,

    If you want to set the min-width as well as the max-width you can try as following
    Copy the file of pluginssystemjat3base-themesdefaultblockscss.php and put it into the folder of templatesja_portfolioblocks
    Open the copied file,Look for this code at the bottom file
    [PHP] <?php
    $mainwidth = $this->getMainWidth();
    if ($mainwidth) : ?>
    body.bd .main {width: <?php echo $mainwidth ?>;}
    body.bd #ja-wrapper {min-width: <?php echo $mainwidth ?>;}
    <?php endif; ?>[/PHP]

    change it to
    [PHP] <?php
    $mainwidth = $this->getMainWidth();
    if ($mainwidth) : ?>
    body.bd .main {width: <?php echo $mainwidth ?>;}
    body.bd #ja-wrapper {min-width: <?php echo $mainwidth ?>px;max-width: <?php echo $mainwidth ?>px}
    <?php endif; ?>[/PHP]

    Also to set the percent with for your right column just go to your template back-end >> Layout tabs ,going to edit your actived layout (it may the default layout),you would see the middle blocks tag like this
    <blocks name=”middle” colwidth=”20″>
    <block name=”content-mass-top” style=”raw”>content-mass-top</block>
    <block name=”inset1″ style=”jaxhtml”>left</block>
    <block name=”right1″ style=”jaxhtml”>right</block>
    </blocks>

    Here you just need to change the value of colwidth it is percent width of your column
    I hope these make sense.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 13 years, 8 months ago.

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