Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • pavit Moderator
    #975768

    Hi

    To change header width you should change responsive divs width

    Open this file /templates/ja_teline_v/tpls/blocks/header.php and change col-md value for header-left and header-right

    Now they are col-md-5 and col-md-7 you can change to col-md-5 and col-md-5

    Regarding sidebar you need to specify which sidebar you want to change

    They have settings for col-md width in these files/templates/ja_teline_v/tpls/blocks/mainbody-magazine.php and /ja_teline_v/tpls/blocks/mainbody.php

    Change the

    <div class="t3-sidebar t3-sidebar-right col-md-3 <?php $this->_c($sidebar) ?>"> 

    to col-md-2 to decrease or col-md-4 to increase , remember also to change value for

    $mainwidth = $hasSidebar ? ' col-md-9' : ' col-md-12';

    to

    $mainwidth = $hasSidebar ? ‘ col-md-10’ : ‘ col-md-12’; if you change sidebar to col-md-2 or

    $mainwidth = $hasSidebar ? ‘ col-md-8’ : ‘ col-md-12’; if you change sidebar to col-md-4

    Hope it helps


    1. Screenshot-at-ott-12-21-20-54
    habdul Friend
    #976101

    Thanks a lot.

    It helped.

    However, for the header, it is the height I want to decrease and not width. The step above affects just the width.

    Where can I get that?

    Regards

    Hassan

    pavit Moderator
    #976194

    Hi

    T3.header is using padding-top and bottom values both at 24 px, if you want to decrease height then you should change these values adjusting them as you like,

    Edit or create if you do not have already one a custom.css file in this folder /templates/ja_teline_v/css/ and add :

    .t3-header {
    padding-top:10px!important;
    padding-bottom:10px!important;
    }
    habdul Friend
    #976361

    Hello Pavit,

    Thanks a lot. That was very helpful.

    Kind regards,

    Hassan

    habdul Friend
    #976362

    Hi Pavit,

    Thanks a lot. That was helpful.

    Regards

    Hassan

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

This topic contains 5 replies, has 2 voices, and was last updated by  habdul 7 years, 11 months ago.

The topic ‘Adjusting position header and sidebar sizes’ is closed to new replies.