0
Welcome Guest! Login
0 items Join Now

SOLVED Sections not 100% of width

    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 13
    • Another Old Hack!

    SOLVED Sections not 100% of width

    Posted 2 months 4 weeks ago
    • So I finally figured out how to add a block to the left side of two sections. However, the sections are not 100% of the width.

      This image is hidden for guests.
      Please log in or register to see it.


      Here is my layout code:

       /top/:
          -
            - 'position-top-a 40'
            - 'position-top-b 20'
            - 'position-top-c 20'
            - 'position-top-d 20'
        /container-header/:
          -
            -
              'logo 30':
                -
                  - position-logo
      
            -
              'mainheader 70':
                -
                  'header 100':
                    -
                      -
                -
                  'navigation 100':
                    -
                      -
        /breadcrumb/:
          -
            - 'position-breadcrumb-a 15'
            - 'position-breadcrumb-b 35'
            - 'position-breadcrumb-c 25'
            - 'position-breadcrumb-d 25'


      Any suggestions?
    • Last Edit: 2 months 3 weeks ago by Luke Douglas.
    • Just another old hacker!
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22009
    • Thanks: 2615
    • Web Developer

    Re: SOLVED Sections not 100% of width

    Posted 2 months 4 weeks ago
    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 13
    • Another Old Hack!

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • My bad...somehow the original post didn't look like it posted. You can delete the "Sections not full width" post. :)
    • Just another old hacker!
    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 13
    • Another Old Hack!

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • Damir,

      I've sent the Super User credentials as well as cPanel access.

      The Base Outline is fine now as I have made some changes. The issue is the 'Default' layout. It is throwing a 'Oops, Failed to read layout.yaml: Unable to parse at line 15 (near " -")..' error.

      I actually copied the 'container-main' code and changed it to 'container-header'. I changed 'sidebar 30' to 'logo 30' and 'mainbody 40' to 'mainheader 70', then removed the 'aside 30' code. The default did show the proper layout in the layout manager. I then added the 'header 100' and the 'navigation 100' sections but it now throws that error in the layout manager.

      One more thing. I duplicated the 'Base Outline' to create a 'Duplicate Default' template which is the default. It works fine. I would just like to know what was wrong with the code for the original 'Default' template.

      Here is the code:
      version: 2
      preset:
        image: 'gantry-admin://images/layouts/default.png'
        name: default
        timestamp: 1476509649
      layout:
        drawer: {  }
        top: {  }
        /container-header/:
          -
            -
              'logo 30': {  }
            -
              'mainheader 70': {  }
                -
                  'header 100': {  }
                -
                  'navigation 100': {  }
        breadcrumb: {  }
        fullwidth: {  }
        showcase: {  }
        intro: {  }
        feature: {  }
        subfeature: {  }
        utility: {  }
        maintop: {  }
        system-messages: {  }
        /container-main/:
          -
            -
              'sidebar 30': {  }
            -
              'mainbody 40': {  }
            -
              'aside 30': {  }
        mainbottom: {  }
        extension: {  }
        additional: {  }
        prebottom: {  }
        bottom: {  }
        afterbottom: {  }
        last: {  }
        footer: {  }
        copyright: {  }
        to-top: {  }
        offcanvas: {  }
      structure:
    • Last Edit: 2 months 3 weeks ago by Luke Douglas.
    • Just another old hacker!
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22009
    • Thanks: 2615
    • Web Developer

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 13
    • Another Old Hack!

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • This message contains only secure information that is visible to Damir, moderators and administrators
    • Just another old hacker!
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22009
    • Thanks: 2615
    • Web Developer

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • Luke Douglas's Avatar
    • Luke Douglas
    • Hero Rocketeer
    • Posts: 291
    • Thanks: 13
    • Another Old Hack!

    Re: SOLVED Sections not 100% of width

    Posted 2 months 3 weeks ago
    • This message contains only secure information that is visible to Damir, moderators and administrators
    • Just another old hacker!

Time to create page: 0.093 seconds