4 modules horizontal at top position
- GK User
- Mon Jul 15, 2013 7:58 pm
I would like to have more than 3 modules horizontal at top1 position. At the moment the fourth module breaks to the next line.
I assume it is something which is not css, so do you have a hint where I can change this from 3 to 4?
Thanks!
I assume it is something which is not css, so do you have a hint where I can change this from 3 to 4?
Thanks!
-

- Fresh Boarder
- GK User
- Mon Jul 15, 2013 8:09 pm
Could You post an url to your site?
-

- Moderator
- GK User
- Tue Jul 16, 2013 7:19 am
Thanks for your quick answer! The URL is http://new.pflege-not-telefon.de
Thanks again, Uli
Thanks again, Uli
-

- Fresh Boarder
- GK User
- Tue Jul 16, 2013 4:06 pm
Sorry, but I can see only one module at top1 position. Could You post all 4 of them?
-

- Moderator
- GK User
- Tue Jul 16, 2013 4:09 pm
Sorry, I mean position TOP2.
There are 4 modules published, which should be in one row.
Thanks,
Uli
There are 4 modules published, which should be in one row.
Thanks,
Uli
-

- Fresh Boarder
- GK User
- Tue Jul 16, 2013 4:26 pm
Please edit the file:
/templates/gk_gamenews/layouts/default.php
and find section:
relpace it with:
This will change top2 section to 4 cols (css'es are already there).
/templates/gk_gamenews/layouts/default.php
and find section:
- Code: Select all
<?php if($this->API->modules('top2')) : ?>
<section id="gkTop2" class="gkCols3">
<div>
<jdoc:include type="modules" name="top2" style="<?php echo $this->module_styles['top2']; ?>" modnum="<?php echo $this->API->modules('top2'); ?>" modcol="3" />
</div>
</section>
<?php endif; ?>
relpace it with:
- Code: Select all
<?php if($this->API->modules('top2')) : ?>
<section id="gkTop2" class="gkCols4">
<div>
<jdoc:include type="modules" name="top2" style="<?php echo $this->module_styles['top2']; ?>" modnum="<?php echo $this->API->modules('top2'); ?>" modcol="3" />
</div>
</section>
<?php endif; ?>
This will change top2 section to 4 cols (css'es are already there).
-

- Moderator
- GK User
- Tue Jul 16, 2013 7:58 pm
Great thanks!
There was a small mistake in your code, I fixed modcol="3" to modcol="4", ready!
Awesome support!
Thanks again, Uli
There was a small mistake in your code, I fixed modcol="3" to modcol="4", ready!
Awesome support!
Thanks again, Uli

-

- Fresh Boarder
- GK User
- Tue Jul 16, 2013 9:26 pm
Ah true, glad You have found that mistake.
-

- Moderator
8 posts
• Page 1 of 1
