Single Column in "Top" module position.

GK User
Tue Aug 11, 2015 9:49 am
Hi. I hope this is fairly simple.

When I publish two modules in the same (top) position in GK-Photo, they end up side by side (in two columns).

How do I set it so there is only ever 1 column (the modules appear one after another).

Thanks
User avatar
Senior Boarder

GK User
Tue Aug 11, 2015 12:14 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Tue Aug 11, 2015 1:06 pm
Unfortunately not, it's not online yet. I simply have two modules in the top position and they appear side by side. I want them to appear one under the other. Is there somewhere where you set the mount of columns? Or a CSS overide I can do?
User avatar
Senior Boarder

GK User
Wed Aug 12, 2015 1:44 pm
Figured it out for myself (it only took an hour for someone with no PHP knowledge)

I edited the file: default.php (found in: gk_NameOfTemplate\layouts\default.php)

and changed:
Code: Select all
<section id="gk-top" class="gk-cols3 gk-page ">


to:
Code: Select all
<section id="gk-top" class="gk-cols1 ">


the gk-cols set the amount of columns and the gk-page restricted the module position to only one row.
User avatar
Senior Boarder

GK User
Mon Aug 17, 2015 6:17 pm
You could also resolve it by simple override.css declaration but to provide you with working one I would need to have online access.
Either case, I'm glad you could fix it by yourself. Just remember this change will be removed with template update.
User avatar
Moderator


cron