Change contact aspect

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Feb 09, 2015 8:06 am
Reply with quote
Report this post
Dear,

I'd like to change the image in contact page for an personalize Google Maps. For that I create un personal HTML module and I put it in mainbody_top position (see the attach), because I can't put it in mainbody position but the problem is that Contact tittle apear down the map and I need that the tittle apear at the top of mainbody.

For that I'll try to do an article insert the module and the component but then the page appear distorsionate.

How can I solve it?

Thank you in advance,

Manel
User avatar
Senior Boarder

teitbite
Mon Feb 09, 2015 5:54 pm
Reply with quote
Report this post
Hi

That's hard. I do not see a way to do this without so hack. Please tell me the url to the exact page You've made this screenshot, so I'll try.
User avatar
Moderator

GK User
Tue Feb 10, 2015 8:30 pm
Reply with quote
Report this post
Thank you in advance teitbite.

Here is the link http://creafesta.com/nova/index.php/contacte

dziękuję,

Manel
User avatar
Senior Boarder

teitbite
Thu Feb 12, 2015 8:26 pm
Reply with quote
Report this post
Hi

Try add this code to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
if( $('#gkMainbody > .contact').size() > 0 ) {
    $('#gkMainbody > .contact > h2').after( $('#gkMainbodyTop > .box') );
}
});})(jQuery)</script>


no idea if this is going to work :) I hope it will.
User avatar
Moderator


cron