0
Welcome Guest! Login
0 items Join Now

Afterburner - 90%

    • Aarron's Avatar
    • Aarron
    • Jr. Rocketeer
    • Posts: 35
    • Thanks: 0

    Afterburner - 90%

    Posted 15 years 2 months ago
    • Hi All,

      How to I go about changing the width of the afterburner template from a fixed with to say 90%?

      Cheers
    • Joomla 1.5.14
      Replicant V2
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Afterburner - 90%

    Posted 15 years 2 months ago
    • #wrapper {
      margin:0 auto;
      padding:0;
      width:962px; <- change to 90%
      }

      I think the code is in index.php
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Afterburner - 90%

    Posted 15 years 2 months ago
    • probably its enough just to add
      div#wrapper {width: 90%;}
      to the css
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Afterburner - 90%

    Posted 15 years 2 months ago
    • Yes but why add code when you don't need to? 8)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Afterburner - 90%

    Posted 15 years 2 months ago
    • hmmm in fact I havent used this one yet ... :oops:
      The width is entered in the template-configuration wich leads to a style in the header of the index.php:

      #wrapper { margin: 0 auto; width: 962px;padding:0;} ...

      Dont know what happens if you just enter 90% in the template configuration ... does this work?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Afterburner - 90%

    Posted 15 years 2 months ago
    • see this line in rt_utils.php

      template_width = 'margin: 0 auto; width: ' . $template_width . 'px;';

      there is a px added automatically. if you want % ...
      you have to add this line
      div#wrapper {width: 90%;}

Time to create page: 0.057 seconds