0
Welcome Guest! Login
0 items Join Now

Changing / adding module class

    • Antony Doyle's Avatar
    • Antony Doyle
    • Jr. Rocketeer
    • Posts: 38
    • Thanks: 0
    • Web designer, developer.

    Changing / adding module class

    Posted 13 years 3 months ago
    • Hey all.

      I hope I can explain this right.

      I'm looking for a way to add a class to a specific module but at the lowest level possible.

      For example;

      If you publish 3 modules in the header position, you get the following 3 divs which form the basis for each module position;

      (note, I've striped out the stuff inside these as this is the level I need it at)
       
      <div class="rt-grid-4 rt-alpha"></div>
      <div class="rt-grid-4"></div>
      <div class="rt-grid-4 rt-omega"></div>
       

      How would I go about getting Gantry to do something like this instead;
       
      <div class="rt-grid-4 rt-alpha"></div>
      <div class="rt-grid-4 rt-middle"></div>
      <div class="rt-grid-4 rt-omega"></div>
       

      Is this possible? I've spent some time pouring through the files in libraries/gantry/ but my PHP isn't all that great, so I'm not really sure what I'm looking at in some cases.

      Any help would be muchly appreciated!

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

    Re: Changing / adding module class

    Posted 13 years 3 months ago
    • For Joomla 1.7 ...

      unpack the file I attached and put it int the /html/layouts of your template ...
    • Antony Doyle's Avatar
    • Antony Doyle
    • Jr. Rocketeer
    • Posts: 38
    • Thanks: 0
    • Web designer, developer.

    Re: Changing / adding module class

    Posted 13 years 3 months ago
    • Henning, you are a star. :)

      Thank you very much!

Time to create page: 0.056 seconds