Theme Joomla Extensions

How do you center Power Slide?

Power Slide is positioned left, I would like it to be centered. I am assuming it is in the CSS but where? Thanks in advance

LumoMongo replied Wrap a div around module code

It is positioned relative, not left or right, it just naturally as per module CSS aligns left (unless otherwise coded in your template) I would recommend just wrapping a div around the module code in your template.css file that holds the Power Slide module.

Open your template index.php file, look for the module position and put this around it:

<div align="center"> 
module code here 
</div>

brooks replied Where's Power Slide module?

Which template.css file would hold the Power Slide module?
& I could not find Power Slide in my index.php.
Does it matter that I am using the command to place it within the article?
Sorry but this is my first Joomla site and I am more used to using Dreamweaver.

LumoMongo replied Hmm, that is a bit different...

If you can send me your URL then I can have a look and see how to align that for you

brooks replied Test page URL

Here is the url for the test page I am setting up.

LumoMongo replied Try this:

In your content article - try put this code around the

{loadposition _______} plugin call:


<div align="center" style="width: 100%"> 
{loadposition _______} 
</div>


You might need to specify a width that is not 100% as above - like 500px for example...

If that does not work then you can try pad according to the width of the content area to center it:

<div style="padding-left: 50px"> 
{loadposition _______} 
</div>


Set the 50px to any value that centers your slide show

brooks replied Didn't work....

Wow... I can figure most things out for myself.....
This one is ridiculous, everything I have tried will not get the module centred.

LumoMongo replied Mail me super admin

Hmm, ok - mail me a super admin account for your site and I will figure it out

norbz replied I have the same problem.

I tried to put a module in a new webpage creting an article but is not possible to put the module there.
I saw any possibilities to show modules and I saw that there are many POSITIONS to select in a drop down menu (user8, user7,left, right) but all these positions do not put my module in a center, just like a menu item.
How can I call the module when I right a new article ?
In this example I thied to put: "mod_powerslide" (Power Slide Display Module).
The page that the gallery is showing is here
Now you can see, I create a menu Called: Galeria and a Article called: Galeria de Fotos (pictures gallery). See that module appears on left. Thank you !

stevenson replied Here's my solution

I had the same problem, and I think the answer given misunderstands what is wanted.

My way is below for reference:

First, edit the html file of the template you are using, and try and work out from the code which area is the main area (where the content goes). Unfortunately , because templates are different, I can't advise exactly. Mine looks like:

<?php if($this->params->get('showComponent')) : ?> 
<jdoc:include type="component" /> 
<?php endif; ?>


What I need to do is create a new area(position) for my gallery there, so just above that code, i add in

<div id="pillmenu"> 
<jdoc:include type="modules" name="user4" /> 
</div>


My new area is 'user4'. So, I go back to the gallery module config and set the position to 'user4' (the one with the choices of left, right, footer etc)

To stop it appearing on every page you have, create a new article for your gallery, link to it from a menu, then in the gallery module config, set the menu selection to the page you just created.

Apologies if this seems like a bit of a ramble, but I'm busy and have to get this site finished, but thought this might help people who are a little stuck. If anyone fancies taking what I've written and making it a bit more legible, be my guest!

It's a bit of a quick hack, but it works.

LumoMongo replied Nice Job!

Dude, that is perfectly fine way of doing it.

For anyone looking for there main content area in a Joomla 1.5 template, it always is this:

<jdoc:include type="component" />


So, as you said, put a module position above that for the slide show. Funny thing is, Power Slide 2.0 has a special functionality for loading modules / content around the gallery - which in essence is kind of what you have done here.

 1 2 > 

Got something to add to this thread? add you thoughts here

 


busy

INSIDE: Forum / Extensions

members

search