[SOLVED] Centering the Template

Multi-purpose Joomla template including ecommerce features and beautiful design
GK User
Thu May 07, 2009 9:21 am
Hi,
I'm triying Eshoptrix. All the page is displayed left aligned. Is it possible to change to center, like in shop.com template?

Also, I have assigned Show Advancend search to yes in the template options, but advanced search is no displayed.

Venan
www.aldanet2000sl.com
User avatar
Fresh Boarder

GK User
Thu May 07, 2009 9:53 am
Hi

To center the template, please add this code in template_css.css:

Code: Select all
.page960,
.page980 {
margin: 0 auto;
}



Also, for advanced search options you must enable the search module to "advert1" module position and also, enable on template parameters.

Cheers ;)
User avatar
Platinum Boarder

GK User
Thu May 07, 2009 3:52 pm
I think than I have replied to this but can't see it now. Well, thank you for the assitance and sorry by my poor english. The solution proposed by Seichinha works fine. The only thing is that the suckerfish menu isn't centered. It is not possible?.

Another thing, I have placed one gavick photoslide II at the header position. The background of that module apears black (or dark gray I don't know). I think would be much better if it had the same clear background that is used in the rest of te frontpage. You think it is possible?

Thank you
Venan
User avatar
Fresh Boarder

GK User
Thu May 07, 2009 4:32 pm
Hi again

Please check the code that i provide to you.
It seams that you didn't set it right.


About the bg of Header rotator, add this:

Code: Select all
#header {
background: none!important;
}


Cheers
User avatar
Platinum Boarder

GK User
Sat May 30, 2009 3:31 am
It would help greatly to say exactly where to placve the code:

.page960,
.page980 {
margin: 0 auto;
}

As it makes no difference where i place it, it does not work.
User avatar
Fresh Boarder

GK User
Mon Jun 01, 2009 12:42 am
You can place it on template_css.css file.

You say that doesn't work?!?!
That's weird. :huh: I can see it working perfectly on firebug.
Did you try clear cache?

Or try adding !important rule, like this:

Code: Select all
.page960,
.page980 {
margin: 0 auto!important;
}


Cheers ;)
User avatar
Platinum Boarder

GK User
Fri Sep 11, 2009 9:30 pm
I was trying out the solutions from Seichinha and the centering thing worked just fine. Regarding the Advanced Search, I disabled mine (it worked so far), but after enabling the Advanced search again, it took about 2-3 minutes to update on my page (www.instok.com).

Now, I do have a question for Seichinha regarding the Advanced search: where should I go to change the Advanced Search text on the code in order to change the language.
User avatar
Fresh Boarder

GK User
Tue Jan 19, 2010 4:28 pm
where in template_css.css to put theat code ?
User avatar
Fresh Boarder

teitbite
Tue Jan 19, 2010 4:57 pm
Seichinha wrote:
You can place it on template_css.css file.


Hi

The best place for that will be after the <body> tag's attribute.
User avatar
Moderator

GK User
Thu Sep 16, 2010 9:28 pm
Seichinha wrote:

Code: Select all
#header {
background: none!important;
}


Cheers


Ah! this is good!
Is there a similar change that can be made for the background of the menu bar?
User avatar
Fresh Boarder

GK User
Thu Sep 16, 2010 10:26 pm
SaiMaaTV wrote:
Seichinha wrote:
Ah! this is good!
Is there a similar change that can be made for the background of the menu bar?


Let's see if i get the idea. You want it like this:

Code: Select all
#menu {width: 980px;border-right:1px solid #ccc}


Cheers ;)
User avatar
Platinum Boarder

GK User
Thu Sep 16, 2010 10:38 pm
worked brilliantly. thanks!
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.