Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

display 2 modules horizontally

display 2 modules horizontally

Hi.
I have the latest version of Joomla and MetaMod. I need to display 2 modules horizontally with specific size.

Here´s a screenshot for better understanding:
http://s9.postimage.org/45uudmhqn/Untitled_3.jpg

I´ve tried all the styles included in MetaMod, but none of them sets the modules in horizontal view.

Any help?

regards.

gajodoporto
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: display 2 modules horizontally

Hi,

the exact styling of modules depends on 3 things:
1 - the exact html used as the modules are output
2 - the class names of the different html elements involved
3 - the CSS applied to those HTML elements, usually from a CSS file imported into the page.

The various options in MetaMod simply affect [1] and perhaps [2]. Your template can make further changes to [1] and [2], and is completely responsible for [3].

The 4 options for "Style for included modules" change the way that the HTML is generated which surrounds the modules that MetaMod includes.

I think the best way to make the modules appear horizontally is to inspect the HTML generated when the MetaMod includes 2 modules, and to inpect the page using Firefox's FireBug extension. Then you can dynamically alter some of the CSS parameters affecting the modules to see what will make them line up side by side instead of vertically. Once you know what parameters to alter then you can add these to your CSS file.

Don't forget the use of the CSS Class Suffix in the included modules. Try adding a suffix to the 2 included modules (i,e. edit those modules, don't change it in the MetaMod module), then inspect the page with FireBug. This will probably help to isolate the modules in question, so that the CSS changes apply only to them.

MetaMod is not really a layout tool, it's more about the selection of exactly which modules are going to get included on the page. The hints above are just general Joomla advice.

Best regards,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
82

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked