-
AuthorPosts
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 12, 2016 at 7:29 pm #975768Hi
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
October 13, 2016 at 4:30 pm #976101Thanks 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 14, 2016 at 4:37 am #976194Hi
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; }
October 14, 2016 at 12:20 pm #976361Hello Pavit,
Thanks a lot. That was very helpful.
Kind regards,
Hassan
October 14, 2016 at 12:23 pm #976362Hi Pavit,
Thanks a lot. That was helpful.
Regards
Hassan
AuthorPostsViewing 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.
Adjusting position header and sidebar sizes
Viewing 5 posts - 1 through 5 (of 5 total)