Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • gzinic Friend
    #191842

    Hello,

    Please tell me how can I set width wider than 980px on university template?

    There is no such option in admin area (like on some other templates).

    I have set .main in layout.css to 1100px, but there is some other “inline” code (probably php) which is limiting width to 980px.

    Where can I found this code?

    Joomla is v2.5.

    Thank you,
    Goran

    Ninja Lead Moderator
    #510853

    My below solution will help you to change width of JA University template

    + Copy plugins/system/jat3/jat3/base-themes/default/blocks/css.php file

    + Paste it into templates/ja_university/blocks/ folder

    + Then open css.php file which you just copied

    Find


    <?php
    $mainwidth = $this->getMainWidth();
    if ($mainwidth) : ?>
    body.bd .main {width: <?php echo $mainwidth ?>;}
    body.bd #ja-wrapper {min-width: <?php echo $mainwidth ?>;}
    <?php endif; ?>
    </style>

    Change to


    <?php
    $mainwidth = "1100px";
    if ($mainwidth) : ?>
    body.bd .main {width: <?php echo $mainwidth ?>;}
    body.bd #ja-wrapper {min-width: <?php echo $mainwidth ?>;}
    <?php endif; ?>
    </style>

    Remember to clear cache from Admin area after applying any changes

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years ago.

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