0
Welcome Guest! Login
0 items Join Now

Template-width-changer for 12-column-layout of gantry

  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • It's working now because I removed the modifications and the mywidth script. Just going with the 960px default.

      Thanks for looking.

      -jay
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • well you had quite a high value at first ... it was almost filling my screen ... but it was centered for sure ...
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • Hello Im using the My width options and it is working great except for some computers and some smart devices the footer is funky.. How do I fix this I saw in another post to change this
      body {
      min-width: 960px;
      }

      Joomla 2.5
      Panacea
      jandrmarketing.com

      But I dont know where t make the change any insight would be great ... RocketTheme rocks!!!!
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • just add it to your template.css

      the min-width: 960px; should reflect the actual width of your template
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • Thanks Henning Question though I have the template set to 70 mywidth so how do I find what the min width is
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • for you it should be around width: 1080px;
      just check the width with your web inspector.
    • janvan's Avatar
    • janvan
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • Hi David,

      I've followed your steps mentioned above for rt_halcyon template but I get an error: Notice: Undefined variable: bottom in C:\wamp\www\TipsSite\templates\rt_halcyon\features\mywidth.php on line 57. Please could you help me with advising me what needs to be changed or set. When I open the mywidth.php file it opens in notepad and there's only two lines so I'm not sure where to check for the undefined variable.

      Thanks
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • David's method didn't work for me in Ionosphere. It made the template look all scrunched together into like 200 pix, just left of center.

      :?
    • Commerce Site with Metropolis magento 1.7- Wood Signs
  • Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • David Goode wrote:
      I know Henning is mega busy this month so I will try and live up to his high standards for you all. :cheesy:

      I have just tested this step by step and it works for me on rt_tachyon_j16

      Download the attached zip file. Unzip it and then upload the file - mywidth.php - to your features directory in the template. For most people this will be via ftp to /public_html/your.domain/templates/rt_tachyon_j16/features

      Now open the /templates/rt_tachyon_j16/template-options.xml file and look for the code at line 117....
      <fieldset name="features" label="FEATURES">
          <field name="viewswitcher-priority" type="hidden" default="1"/>
          <field name="logo-priority" type="hidden" default="2"/>
          <field name="copyright-priority" type="hidden" default="3"/>
          <field name="styledeclaration-priority" type="hidden" default="4"/>
       
      ...and insert this code - <field name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/> - so the file should now look like this...
      <fieldset name="features" label="FEATURES">
           <field name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/>    
           <field name="viewswitcher-priority" type="hidden" default="1"/>
          <field name="logo-priority" type="hidden" default="2"/>
          <field name="copyright-priority" type="hidden" default="3"/>
          <field name="styledeclaration-priority" type="hidden" default="4"/>
       
      Please note that the default is set to 60px, which is the same setting as the current template.
      Upload the amended file to replace the original.

      Now go to Joomla admin and select the rt_tachyon_j16 template and go to template admin. In the features tab you should now have an option called mywidth and it should be displaying the 60 width.
      screenshot-mywidth-tachyon16.png
      Just change the width to suit your needs and then apply. Remember that there are 12 columns so if you set the column width to 100 then you will deliver a screen width of 1200px.

      Hope this helps 8)

      Figured it out for Ionosphere. Follow Davids instructions just above...

      Download his mywidth.php here...
      www.rockettheme.com/forum/index.php?id=64547&rb_v=file

      But where he says find line 117 in the template-options.xml, instead find line 123 and you should be good to go. Paste <field name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/> right after 123 instead of 117.
    • Commerce Site with Metropolis magento 1.7- Wood Signs
    • janvan's Avatar
    • janvan
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Template-width-changer for 12-column-layout of gantry

    Posted 13 years 3 weeks ago
    • Thanks for the advice mjindustry but the problem still exists.

      The error being returned is "Undefined variable: bottom in C:\wamp\www\TipsSite\templates\rt_halcyon\features\mywidth.php on line 57" There is also a table below showing 5 columns, "#", "Time", "Memory", "Function", "Location". There are 3 lines that are in green text instead of grey, the first line under function is "require( 'C:\wamp\www\TipsSite\templates\rt_halcyon\index.php' )" with a location, the second line says "require_once( 'C:\wamp\www\TipsSite\templates\rt_halcyon\lib\gantry\gantry.php' )" with a location and the 3rd line says "require_once( 'C:\wamp\www\TipsSite\libraries\gantry\gantry.php' )" with a location.

      I'm not too sure what it wants.

      Thanks

Time to create page: 0.091 seconds