Page 1 of 2

Can´t center the map

Posted: 04 Jan 2010, 15:05
by rrmdp
Hello, maybe its a silly question but I can´t center the map. Its always on the page´s left side. Its ok with the text above or below. So I dont know what it could be. Thanks

Re: Can´t center the map

Posted: 05 Jan 2010, 19:35
by Jan
Hi, try to check your template, you can set the full width of the map so then it will be over the whole content

Jan

Re: Can´t center the map

Posted: 06 Jan 2010, 00:24
by rrmdp
Sorry Jan but I dont get you. I can center anything (text, images, etc) but cant center the map.

Sorry and thanks for your help, Rodrigo.

Re: Can´t center the map

Posted: 06 Jan 2010, 10:40
by Ronny
Hi Rodrigo,

what Jan wants to tell you - many of such errors are due to the template used. Please try one of the default templates delivered with Joomla and see if the error persists. If not it is because of the template you are using.

Regards,
Ronny

Re: Can´t center the map

Posted: 06 Jan 2010, 12:32
by rrmdp
thank you ronny but iam sure its not the template because I can center anything else. I had the same problem with "mosmap" plugin and i've sent the message to the developers and they changed the code and solved the problem. The thing is that I prefer to use phoca maps.
Thanks for your help any way, Rodrigo.

Re: Can´t center the map

Posted: 06 Jan 2010, 14:12
by Ronny
Sorry Rodrigo - but even if you are sure for yourself noone else can be sure if you don't try it. So I ask you to try it with one of the default templates. Only then someone knows where to look for the error.
BTW - I had similar problems some time ago which were for sure due to the template, where everything else worked but the alignment of the map.

Regards,
Ronny

Re: Can´t center the map

Posted: 07 Jan 2010, 09:42
by rrmdp
Hi Ronny, I´ve tryed on the plain templete and it worked fine as you said, but how do you explain that its working with the other plugin?? I dont know where to start to look. This guys from mosmap sent the plugin with the new code and it worked right away. Any ideas?? thank you very much for your time and help again.
Rodrigo

Re: Can´t center the map

Posted: 07 Jan 2010, 10:17
by Ronny
Hi Rodrigo,

thanks for the feedback - so we know it's due to something within the template.
The other plugin may use other stylesheets than Phoca does so this may be the reason. Which css definitions you have to look at is best answered by Jan 'cause I don't know which are used internally by Phoca Maps. I think it would be helpful if you could post a link to your site where the error occurs.
A hint to find the css yourself: for Firefox there is a plugin named Firebug - this is able to display the css definitions used (among others). Unfortunately I didn't use Firebug myself until now so I can't exactly tell you how to work with it - but it shouldn't be too complicated.

Regards,
Ronny

Re: Can´t center the map

Posted: 08 Jan 2010, 16:12
by rrmdp
Thaks Ronny, this is the url http://www.virginiaperezinteriorismo.es/virginia after you have to go to "CONTACTO" on the top menu.
Thanks a lot.

Re: Can´t center the map

Posted: 02 Mar 2010, 10:36
by jinxer
It seems that you manage to center the map as I can see on the website.

I'm having the same problem. Can you explain how you solved this?