Can´t center the map

Phoca Maps - displaying maps in Joomla! CMS
rrmdp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jan 2010, 14:48

Can´t center the map

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can´t center the map

Post 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
If you find Phoca extensions useful, please support the project
rrmdp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jan 2010, 14:48

Re: Can´t center the map

Post 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.
Ronny
Phoca Professional
Phoca Professional
Posts: 211
Joined: 03 Nov 2009, 20:31
Location: Germany
Contact:

Re: Can´t center the map

Post 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
rrmdp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jan 2010, 14:48

Re: Can´t center the map

Post 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.
Ronny
Phoca Professional
Phoca Professional
Posts: 211
Joined: 03 Nov 2009, 20:31
Location: Germany
Contact:

Re: Can´t center the map

Post 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
rrmdp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jan 2010, 14:48

Re: Can´t center the map

Post 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
Ronny
Phoca Professional
Phoca Professional
Posts: 211
Joined: 03 Nov 2009, 20:31
Location: Germany
Contact:

Re: Can´t center the map

Post 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
rrmdp
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jan 2010, 14:48

Re: Can´t center the map

Post 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.
jinxer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Nov 2009, 11:38

Re: Can´t center the map

Post 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?
Post Reply