-
AuthorPosts
-
May 16, 2015 at 11:42 am #206382
Hello,
I have the following blocks in my template:
<?php $this->loadBlock(‘header’) ?>
<?php $this->loadBlock(‘masthead’) ?>
<?php $this->loadBlock(‘navhelper’) ?>
<?php $this->loadBlock(‘spotlight-2’) ?>
<?php $this->loadBlock(‘mainbody_cen’) ?>
<?php $this->loadBlock(‘footer’) ?>The spotlight-2 block is included to show a submenu module before the main article on “extra small” screens. This module should be absent on all other screen/window sizes.
Unfortunately, when I assign a position to this block – corresponding to the target position of the menu module and “hide” the position on all but “extra small” screens in the “Responsive Layout?”, a gap is introduced on all pages.
Please see attached image.
Is there a way to fix this?
When the block is given the position “none”, there is no spacing problem
I can only leave the pages in this state for a few hours, but please see:
http://www.reverberant.com/cenuber/pos/presencial/linhas-de-pesquisa2
Thanks,
May 16, 2015 at 2:07 pm #570793I don’t know if this is the best way to do it, but I edited the definition of .container in /templates/ja_nuevo/local/css/bootstrap.css to:
.container {
margin-right: auto;
margin-left: auto;
padding-left: 50px;
padding-right: 50px;
padding: 4px !important;
}The value of “padding: 4px !important;” is new. Seems to be OK. Couldn’t get it to work putting the same thing in a new file /templates/ja_nuevo/local/css/custom.css without losing previous changed made in templates/ja_nuevo/css/custom.cs. I tried copying these changes over to /templates/ja_nuevo/local/css/custom.css, but couldn’t get it to work.
May 16, 2015 at 2:07 pm #735855I don’t know if this is the best way to do it, but I edited the definition of .container in /templates/ja_nuevo/local/css/bootstrap.css to:
.container {
margin-right: auto;
margin-left: auto;
padding-left: 50px;
padding-right: 50px;
padding: 4px !important;
}The value of “padding: 4px !important;” is new. Seems to be OK. Couldn’t get it to work putting the same thing in a new file /templates/ja_nuevo/local/css/custom.css without losing previous changed made in templates/ja_nuevo/css/custom.cs. I tried copying these changes over to /templates/ja_nuevo/local/css/custom.css, but couldn’t get it to work.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 18, 2015 at 10:39 am #570923Have sorted it out? I checked on your site and saw it’s working fine
-
1 user says Thank You to Ninja Lead for this useful post
May 19, 2015 at 10:29 am #571079Thanks – yes. I’ll try and close the thread now.
May 19, 2015 at 10:29 am #736127Thanks – yes. I’ll try and close the thread now.
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by surdo 9 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum