test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • sublimemag Friend
    #1064695

    Hi,
    I would like to change the width of these positions. At the moment, it is done automatically and it assigns a col width of 50% to each. I would like to make masthead-1 70% and masthead 2 30%.

    Thanks

    Saguaros Moderator
    #1064812

    Hi,

    It belongs to the Spotlight block and it will automatically adjust the width based on the number of column you set in layout settings.

    If you want to have that width (70-30), I suggest you to customize the layout a bit by adding a new block with 2 new positions. Here is my tweak:

    • I assume that you’re mentioning the ‘home’ layout: http://prntscr.com/gr19x5
    • Create 2 new positions called: mas-1 and mas-2 , go to file:
      root/templates/ja_mood/templateDetails.xml

    add 2 position tags like this: http://prntscr.com/gr1a86

    • Create a new block called top (download the attached file) and copy into directory: root/templates/ja_mood/tpls/blocks/top.php

    In this ‘top.php’ file, I customize to load 2 new positions just created.

    • Now, you need to load this new block into the ‘home’ layout:
      root/templates/ja_mood/tpls/home.php

      <?php $this->loadBlock('top') ?>

    http://prntscr.com/gr1ash

    Finally, assign your desired module to these 2 new positions.

    For more info about how to work with layout of T3, pls check out this doc: http://www.t3-framework.org/documentation/bs3-layout-system#about-layout


    1. top.php_.zip
    sublimemag Friend
    #1064908

    Thank you so much! That worked beautifully and I have learned how to do it for next time : )

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

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

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