You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 29-05-2014 14:13:07

mjlake28
Contributors
Registered: 07-05-2014
Posts: 10

Remove groups from home page

Hello,

Sorry if this has been asked before but I was unable to find the answer when searching. I am trying to remove the groups from the homepage so it is just one central block of tiles in the middle of the screen, without the second and third tile group and so the screen doesn't scroll horizontally.

I have tried altering/removing the $groupTitles and $groupSpacing in config\layout.php and this hasn't removed them. If any one can tell me how to remove them that would be great.

p.s. Great template! And also great forum, have found most answers to all my queries here... Thanks

Offline

#2 29-05-2014 16:01:57

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Remove groups from home page

Removing the groups in the tiles file, in the $groupTitles array en the $groupSpacing array should be fine.

Then set in config/layout.php scrolling to vertical.

Offline

#3 29-05-2014 16:21:36

mjlake28
Contributors
Registered: 07-05-2014
Posts: 10

Re: Remove groups from home page

Perfect, thanks for your help... Is there anyway to easily center the group of tiles int he middle of the page? Or do I need to use x & y to move them around?

Thanks smile

Offline

#4 29-05-2014 16:57:04

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Remove groups from home page

Maybe setting

#tileContainer{
margin-left: auto;
margin-right: auto;
}

will do the trick but I'm not sure.

Offline

#5 30-05-2014 09:29:19

mjlake28
Contributors
Registered: 07-05-2014
Posts: 10

Re: Remove groups from home page

No luck, in Firebug the #tileContainer ins't even wrapping the tiles. Its just floating underneath the header. But no worries... i'll have a look into it today. Thanks for your help.

Offline

#6 30-05-2014 14:27:14

mjlake28
Contributors
Registered: 07-05-2014
Posts: 10

Re: Remove groups from home page

Manged to do it by adding 1 to each of the tiles for the x axis. Tried several different ways of making the #tileContainer wrap the tiles but nothing worked. Thanks

Offline

Board footer

Powered by FluxBB