Disable component on index page?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Aug 27, 2013 2:41 am
Reply with quote
Report this post
Hi,
I know in some templates there was way to disable the component and only modules to be shown on the main page. How can I do that in this template?

Thanks,
S@
User avatar
Platinum Boarder

GK User
Tue Aug 27, 2013 6:03 am
Reply with quote
Report this post
Hi,
you have three possibilities:

1) Create article without content (using 3.1 it's possible) , add to menu as home page, and hide title
2) Use Blank component
3) Add class suffix for first item of menu which hide component
User avatar
Platinum Boarder

GK User
Tue Aug 27, 2013 12:02 pm
Reply with quote
Report this post
Thanks,
I did found a workaround but what you suggested was new for me so I learned new stuff :D

Thanks,
S@
User avatar
Platinum Boarder

GK User
Fri Dec 06, 2013 12:33 pm
Reply with quote
Report this post
Pawel F wrote:Hi,
you have three possibilities:

1) Create article without content (using 3.1 it's possible) , add to menu as home page, and hide title
2) Use Blank component
3) Add class suffix for first item of menu which hide component


Hi Pawel, option 1 still displays space for the article even though it's blank? Could you tell me how to do step 3? Have tried it before but don't remember the script/where to place it.

Thank you very much in advance!!
User avatar
Fresh Boarder

GK User
Sun Dec 08, 2013 11:09 pm
Reply with quote
Report this post
You can also set Home position as Show features articles -- and don't set any of articles as features.
User avatar
Platinum Boarder

GK User
Mon Dec 09, 2013 9:04 am
Reply with quote
Report this post
Pawel F wrote:You can also set Home position as Show features articles -- and don't set any of articles as features.

Thank you very much for your quick reply Pawel!

Well, I already did that - could you have a quick look at www.lokalbarylerne.dk just to tell me whether it's space for content or another div I just need to remove?

Thanks again!
User avatar
Fresh Boarder

GK User
Mon Dec 09, 2013 7:45 pm
Reply with quote
Report this post
Ok, now I see.

Those "empty space' wasn't from article --- it's top margin from footer.

Default code
Code: Select all
#gkPageContent + #gkFooter {
    margin-top: 50px;
}


I suggest to override using margin-top:0px
User avatar
Platinum Boarder


cron