PDA

View Full Version : Is it possible to edit the width of the left and right middle blocks ?



Pete Young
June 6, 2016, 03:41 AM
Is it possible to edit the width of the left and right middle blocks form 50% / 50% to say 33.33 and 66.66% ? thought I seen this somewhere but can not find it now

Wei Hong
June 6, 2016, 09:19 AM
Can you add new position as well? Lets say, long top, long mid, long bottom for full width content box.

Pete Young
June 6, 2016, 11:14 AM
are there any guides to changing the % wide / adding new positions ?

Viktor
June 7, 2016, 11:18 AM
Hello Pete,

Yes you can change it. Go to ftp://templates>>your_template>>tpl>>content.tpl

find code:


{if $blocks.middle_left || $blocks.middle_right}
<!-- middle blocks area -->
<aside class="row two-middle">
<div class="col-md-6 col-sm-12">
<div>
{foreach from=$blocks item='block'}
{if $block.Side == 'middle_left'}
{include file='blocks'|cat:$smarty.const.RL_DS|cat:'blocks_ manager.tpl' block=$block}
{/if}
{/foreach}
</div>
</div>

<div class="col-md-6 col-sm-12">

find: col-md-6

and change 1st - col-md-4
2nd - col-md-8
this styles from bootstrap. We are using 12 columns for full width. Now we set col-md-6 for both middle boxes it means 50/50%

Pete Young
June 7, 2016, 01:26 PM
Thank you Viktor.

Vikas Walia
August 20, 2016, 05:19 AM
my question is same as Wei Hong
Can you add new position as well? Lets say, long top, long mid, long bottom for full width content box???

Viktor
August 20, 2016, 07:03 AM
Hello Vikas,

Yes we can add new position but for that you can create a ticket with your request and it will cost you some extra fee.

Curtis
August 20, 2016, 07:06 AM
my question is same as Wei Hong
Can you add new position as well? Lets say, long top, long mid, long bottom for full width content box???

They already exist with width 100%: Top, Middle, Bottom.

Wei Hong
August 20, 2016, 08:01 AM
They already exist with width 100%: Top, Middle, Bottom.

It doesn't exist in general wide template. :(
I haven't checked other templates yet. May be they have?

Curtis
August 20, 2016, 09:18 AM
It doesn't exist in general wide template. :(
I haven't checked other templates yet. May be they have?

So, if you mean boxes with position on top, middle, bottom with width 100% and without sidebar that it can be done as customization only as Viktor told already.

Wei Hong
August 20, 2016, 09:22 AM
So, if you mean boxes with position on top, middle, bottom with width 100% and without sidebar that it can be done as customization only as Viktor told already.

Yes, thats what I thought.