Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Remove padding of TOP1 position

9 years 8 months ago
  • Nino's Avatar
    Topic Author
  • Nino
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

I have socialize template with last version of Jomsocial on Joomla 3.

I installed Geommunity 3 for Jomsocial which display members on Google map. I put TOP1 position for this Gmap module.

My problem is there are some padding on the sides of the map. I would like the google map doesn't have any padding.

When I check the css source in console. I can see than in Fact it is the margin which create this.

My google map module has width="100%"

Can you tell me please how can I get my google map module with full 100% width?

Please see screenshot for details.

Attachment issue-socialize.png not found

Attachments:
9 years 8 months ago
Licenses:

Hi.

I need to see that to advice what code to add.
There are NO paddings at left and right. It's just a main container that has 1170px width and is in the middle of visible screen.
Also if you change width of main container it will have global effect...
You may create new module position outside main container and place map in it (if it's a module).
You should edit this file:

ROOT/templates/socialize/tpls/blocks/mainbody-js.php

But remember it will be a core hack and change will be lost after template upgrade... so keep a backup copy.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 7 months ago
  • Nino's Avatar
    Topic Author
  • Nino
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Thank you.

Do you have any tutorial to create a new module position in Socialize template?
DO you recommand any existing tutorial in particular?

Kind regards

9 years 7 months ago
  • Nino's Avatar
    Topic Author
  • Nino
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

This file ROOT/templates/socialize/tpls/blocks/mainbody-js.php doesn't exist.
There are ROOT/templates/socialize/tpls/blocks/mainbody.php or mainbody-home-1.php or mainbody-home-2.php

9 years 7 months ago
  • Nino's Avatar
    Topic Author
  • Nino
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

I edit templatedetails.xml to add the na me of new module posiiton.
Then I add this code below to the ROOT/templates/socialize/tpls/blocks/top.php file:
<jdoc:include type="modules" name="mynewmodule" />

I choose top.php becaue I wanted a big slider module with full width just under my main menu.

But now the content of component is not displayed. The code is broken :-(

WHat did I forget?

9 years 7 months ago
Licenses:

Hi, Nino.

I don't have access to your site... or FTP so I can't check whet you did wrong.
You need to edit your first post and provide me credentials needed.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW