Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[SOLVED] NOKKORI bottom

More
10 years 4 months ago - 10 years 4 months ago #138914 by jedi
[SOLVED] NOKKORI bottom was created by jedi
you can do the bottom in equal width:

explanation is now:
nokkori_Bottom = large
nokkori_Bottom2 = large
nokkori_Bottom3 = small
nokkori_Bottom3 = small
I would like to make these all the same
Regards,
Walter

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138915 by Krikor Boghossian
Replied by Krikor Boghossian on topic NOKKORI bottom
Hello Walter,

Open the index.php file and head down to the bottom.

You will see two instances of:
column small-12 medium-6 large-4 btmMod
and another two of:
column small-12 medium-6 large-2 btmMod

Change all four instances (2 + 2) of large-2 and large-4 to large-3

eg:
column small-12 medium-6 large-3 btmMod

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #138916 by jedi
Replied by jedi on topic NOKKORI bottom
Hi,
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138917 by Krikor Boghossian
Replied by Krikor Boghossian on topic NOKKORI bottom
If you have all these 4 modules published at the same time, then you can safely replace <?php echo $rowclass_small.$rowclass;?> with large-3 (mind the space).

If you are not sure about this or you are planning to change this in the near future then open the: includes/variations.php file and locate the following block of code.
switch($cols){
	case 4;
    $rowclass_large = ' large-4'; 
    $rowclass_small = ' large-2';
    $rowclass = '';
		//$rowclass = ' large-3';
		break;
	case 3;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-4';
		break;
	case 2;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-6';
		break;
	case 1;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-12';
		break;
}

You can change it to
switch($cols){
	case 4;
    $rowclass_large = ' large-3'; 
    $rowclass_small = ' large-3';
    $rowclass = '';
		//$rowclass = ' large-3';
		break;
	case 3;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-4';
		break;
	case 2;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-6';
		break;
	case 1;
    $rowclass_large = ''; 
    $rowclass_small = '';
		$rowclass = ' large-12';
		break;
}

1st solution is easier, while the second is more future-proof.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago - 10 years 4 months ago #138918 by jedi
Replied by jedi on topic [SOLVED] NOKKORI bottom
Hi Krikor,
problem solved tanks for support.
Very nice.
2° optione is valid for me "more future-proof."
Regards,
Walter

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138919 by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] NOKKORI bottom
You 're welcome Walter.
I 'm glad I could be of assistance.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.