What Menu Item Type to use?

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Sat Oct 13, 2012 6:43 am
I've created a menu item with a menu item type = Featured Articles

There is an empty white block on the page but I haven't assigned anything to a position yet on the page.

How do I make this empty white block go away?

Cheers
Rich
User avatar
Junior Boarder

GK User
Sat Oct 13, 2012 8:04 am
If you mean empty blank section in homepage then please set as following.

Template settings > Basic Settings >
Main Body - FrontPage: Mainbody only.
Main Body - subpages: Component only.

See you around...
User avatar
Platinum Boarder

GK User
Sat Oct 13, 2012 5:24 pm
Thanks Norman
That worked for the homepage, but how do I do the same thing for my other pages?
- I've created several other pages with a Menu Item Type = Featured Articles and they have the same issue.
Should I be using a different Menu Item Type for them?
Cheers
Rich
User avatar
Junior Boarder

GK User
Mon Oct 15, 2012 12:06 am
You can use page suffixes feature in template settings > Features. How it works is create a new menu item for the page you want to disable the mainbody. If you don't want this menu item to be visible in main menu then simply create a new menu then create new items inside that menu.

At the end of each menu item you will see menu item id.

Image

In Template settings > Features > Suffixes for Pages add your menu item id and your suffix. For this example I have used suffix "hidebody".

Image

In css/override.css add below code then enable css override option from template settings > advanced settings > css override "on".
Code: Select all
body.hidebody #gkContent { display:none!important;}

or
Code: Select all
body.hidebody #gkMain { display:none!important;}


See you around...
User avatar
Platinum Boarder

GK User
Mon Oct 15, 2012 5:59 am
Fantastico!
Worked like a charm.
Thank you sir.
User avatar
Junior Boarder

GK User
Mon Oct 15, 2012 8:07 am
No problem at all, see you around...
User avatar
Platinum Boarder


cron