Centralize Module position

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Centralize Module position

Postby leelazarus » Mon Dec 13, 2010 8:34 am

Hi Guys

I have searched the forum for some answer here but i cant seem to find anything that helps?

Here the scoop:

I have created a template in a brilliant piece of software(Artiseer)-Worth every penny...

But now when I add the Gallery View module and set it to the Banner 1 or even top1 or any banner or top position it gets aligned to the left. I need to cetralize it...

Many thanks

Guru's...Lol :p

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 18464
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Centralize Module position

Postby ranwilli » Mon Dec 13, 2010 8:35 am

Worth every penny? How's the support?
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com -
Live Joomla! Help available at the site M-F, 9-12 am edt 2-5pm edt.
by appointment on evenings and weekends.

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Mon Dec 13, 2010 8:51 am

Havent really tried their support to be honest didnt think this fell under their support?

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 18464
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: Centralize Module position

Postby ranwilli » Mon Dec 13, 2010 8:57 am

Whom did you pay?
Don't HACK the Joomla! core. Extend and Override.
http://harpervance.com -
Live Joomla! Help available at the site M-F, 9-12 am edt 2-5pm edt.
by appointment on evenings and weekends.

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Tue Dec 14, 2010 5:31 am

Hi...

You can use Modul Class Suffix for change the align module position

1.
Put this code in your template.css file. You can add it at the end of the line of the template.css file
You can find the template.css file in this path : /templates/templates-name/css

Code: Select all

div.customstyle1
{
text-align: center;
}

Save.

2.
- Go to Module manager, open the module name you want to edit / change the align (in this case is Gallery View module)
- In the right panel, you would getting "Module Class Suffix" parameter, type <space> + "customstyle1" ( customstyle1), must with Space
- Save.

3.
Clear up the Joomla cache and browser cache for see the result.

Review also this tutorial >>> http://docs.joomla.org/Tutorial:Using_C ... ass_Suffix

Hope this helps ;)

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Tue Dec 14, 2010 6:32 am

Thank you so much for the reply.. i will try this tonight and post the results...

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Tue Dec 14, 2010 9:50 pm

Hi

I have tried adding those values at the end of my template but still no luck.

Have a look at the pict attached.

Thanks man for helping.
You do not have the required permissions to view the files attached to this post.

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Wed Dec 15, 2010 1:00 am

Hi...

can you tell me about your site link and the template name you're using ?

;)

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Wed Dec 15, 2010 5:34 am

It' still being developed hence it;s on my local pc:-(. The template was created with Artiseer and has a banner4 module position that i placed the gallery view in.

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Thu Dec 16, 2010 3:31 am

Hi...

Usually (not always) the templates created by Artisteer is has module positions like this :

"Left, right, user 1, user 2, user 3, user 4, user 5, top 1, top 2, top 3, breadcrumb, banner 1, banner 2, banner 3, banner 4, banner 5, banner 6, bottom 1, bottom 2, bottom 3, syndicate and copyright"

right ?

Try for setting the Gallery View Module in the "Top 2" or "Bottom 2" position
Or if you do not mind, please post about your template here (in attachment), I will tried it in my pc

;)

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Thu Dec 16, 2010 4:47 am

Hi

I tried that and it still sets it the left, I have attached my template take a look and see, try any module in those positions and see which one you can centralize, i basically needed the gallery view module to be in the center after the text/body of my homepgae.

thanks again
You do not have the required permissions to view the files attached to this post.

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Fri Dec 17, 2010 3:35 am

Hi...

I've tried your template in my pc, and I can gets aligned to the center perfectly. See in the attachment
In my post above, the code is like this :

Code: Select all

div.customstyle1
{
text-align: center;
}


Please remove div code, so it's looks like this :

Code: Select all

.customstyle1
{
text-align: center;
}


Hope this helps ;)

attachment-1.jpg
You do not have the required permissions to view the files attached to this post.

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Fri Dec 17, 2010 5:44 am

Hi

Thanks for the reply. I just want to make sure im doing the right thing here:

1.I have added under the module suffix for gallery view- (space)+"customstyle1" ( customstyle1)

Question: I know this might be dumb so please excuse me, but must i add the + sign and the (customstyle1) as well?

2.Thereafter I added at the end of my template( template\arenatours\css\template.css file
.customstyle1
{
text-align: center;
}

3. i cleared the cache and still it sets itself to the left?

Maybe if you can upload your edited version of my template so i can have a look and see exactly where i went wrong.

Thank you once again.

Lee

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Sat Dec 18, 2010 3:50 am

leelazarus wrote:1.I have added under the module suffix for gallery view- (space)+"customstyle1" ( customstyle1)

Question: I know this might be dumb so please excuse me, but must i add the + sign and the (customstyle1) as well?

See this screenshot :
attachment-1.jpg


and Don't like this :
attachment-2.jpg


leelazarus wrote:3. i cleared the cache and still it sets itself to the left?

Make sure you clean up the Browser cache, not only Joomla cache

leelazarus wrote:Maybe if you can upload your edited version of my template so i can have a look and see exactly where i went wrong.

I have attached your template.

I've tested for put the Gallery View module in the Banner 4, Banner 5, Banner 6, User 4 and Bottom 1 position, I can gets aligned to the center perfectly

Let me know if it's still doesn't work :)
You do not have the required permissions to view the files attached to this post.

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

SOLVED: Centralize Module position

Postby leelazarus » Sat Dec 18, 2010 8:35 pm

You are MY HERO....lol

THANK you THANK you Thank YOU...It worked brilliantly!!!!!

THANKS AGAIN,,,It was the error in adding the module suffix...

THANKS BRO..I can't stop thanking you enuf...

User avatar
Ghonjez
Joomla! Exemplar
Joomla! Exemplar
Posts: 8770
Joined: Sat Oct 18, 2008 3:02 am
Location: Mars
Contact:

Re: Centralize Module position

Postby Ghonjez » Sun Dec 19, 2010 2:56 am

You are welcome
Glad helps you ;)

leelazarus
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Sun Oct 31, 2010 9:55 pm

Re: Centralize Module position

Postby leelazarus » Wed Dec 22, 2010 10:39 am

Hey bru..

i got a prob now.. all was good with regards to centralizing the module..on my local pc,,but when i uploaded to the net it doesnt centralize. when you open the site it starts up centered but then goes to the left..have a look: www.arenatours.co.za

Hope this helps...

Thanks

yashvyas07
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 31, 2011 10:08 pm
Location: Chicago, IL
Contact:

Re: Centralize Module position

Postby yashvyas07 » Wed Aug 31, 2011 10:11 pm

If you didn't add any module id : try this css

#photos-{ margin:0 auto !important;}

Hope that helps!

Yash
joomlawebcraft.com
yashvyas.in

le_singe72
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Feb 21, 2012 11:48 am

Re: Centralize Module position

Postby le_singe72 » Tue Feb 21, 2012 12:07 pm

It's Works.. :D
Thanks Ghonjez


Return to “Templates for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 12 guests