- Posts: 68
- Thank you received: 0
Format Columns Layout Spacing
- Dave
- Topic Author
- Offline
- Senior Member
Less
More
10 years 11 months ago #40156
by Dave
Format Columns Layout Spacing was created by Dave
In Membership Pro I have chosen to use the columns layout. However, it is set to have just 1px of space between each plan box (or column). Using Firebug I see that this is defined by:
element.style {
border: 1px solid #E5E5E5;
float: left;
margin: 1px;
width: 27%;
Which file do I edit this in? Firebug does not point to any particular file.
Thanks so much!
element.style {
border: 1px solid #E5E5E5;
float: left;
margin: 1px;
width: 27%;
Which file do I edit this in? Firebug does not point to any particular file.
Thanks so much!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 11 months ago #40174
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format Columns Layout Spacing
Hi Dave
Send me the link to the page, please. I will ask my dev to check it and tell you what field you need to modify to reduce the space between plans.
Tuan
Send me the link to the page, please. I will ask my dev to check it and tell you what field you need to modify to reduce the space between plans.
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 11 months ago #40175
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format Columns Layout Spacing
If you are using latest version, you can follow the instructions below to reduce the space :
1. Open the file components/com_osmembership/views/common/columns_plans.php
2. Find the code below :
3. Change it to something like :
After that, check it again and the space should be reduced.
If you still use old version, the same code need to be modified but in a different file components/com_osmembership/views/plans/columns.php
Hope that helps.
Tuan
1. Open the file components/com_osmembership/views/common/columns_plans.php
2. Find the code below :
Code:
$width = (int)(100/$numberColumns) - 6 ;
Code:
$width = (int)(100/$numberColumns) - 2 ;
After that, check it again and the space should be reduced.
If you still use old version, the same code need to be modified but in a different file components/com_osmembership/views/plans/columns.php
Hope that helps.
Tuan
Please Log in or Create an account to join the conversation.
- Dave
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
10 years 11 months ago #40315
by Dave
Replied by Dave on topic Re: Format Columns Layout Spacing
Thanks Tuan.
This solution did not work for me but I have decided to leave the spacing as is. I just wanted to let anyone else reading this know that I didn't have success with this but maybe others will.
This solution did not work for me but I have decided to leave the spacing as is. I just wanted to let anyone else reading this know that I didn't have success with this but maybe others will.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 11 months ago #40378
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Format Columns Layout Spacing
Why don't you simply submit a support ticket sending us information of your site ? I will be happy to help you to edit code to solve the problem !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.