Hide Mainbody on Home 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
Wed Sep 18, 2013 11:47 pm
Reply with quote
Report this post
Hi,
Using Bluap template.
I wish to hide the mainbody on the home page.
So Far I have
Added an override in Suffix for pages in template setup Menuid=noMainbody where menuid id the menuid of the homepage item
In template setup set CSS Override to enabled
Updated the override.css and added .noMainbody #gkMainbody { display: none !important}

Mainbody still shows.

Thoughts
User avatar
Fresh Boarder

GK User
Thu Sep 19, 2013 5:46 am
Reply with quote
Report this post
Did you check your html source to see if your page suffix works, such as

Code: Select all
<html class="noMainbody">
<body class="noMainbody">
User avatar
Platinum Boarder

GK User
Thu Sep 19, 2013 9:57 am
Reply with quote
Report this post
Hi.
I do not see this when I inspect the page
User avatar
Fresh Boarder

GK User
Thu Sep 19, 2013 10:25 am
Reply with quote
Report this post
Then your page suffix setup is wrong in template settings.

Example if my home menu item id is 640 and following is my suffix "noMainbody" without quotes.

ItemID/Option: 640
suffix: noMainbody
Click on Add rule then click on save on top right.

If this is still not working please make sure you are not caching your site, disable cache plugins etc.

See you around...
User avatar
Platinum Boarder

GK User
Mon Oct 14, 2013 1:14 pm
Reply with quote
Report this post
Hi :)

I'm struggling around with ItemID / Suffix thing...

I'm using the bluap 3.x template (not the quickstart one) and trying to use the right option in template settings.

In "Basic settings" there is the "Layout override" part with

"ItemID/Option" Text Field,
"Layout" Dropdown (where I can choose between 'default' and 'facebook') and the "Add rule" Button,
and another Text Field (I think this is to list the multiple Options that I've added).

I'm not sure what I have to put in the first text field ("ItemID/Option") to get it work.

My Item is 101 and I'd like to use the same Suffix noMainbody.

When I enter "101/Suffix:noMainbody" (without quotes) and then press "Add rule" then

101/suffix:noMainbody=default

will appear in the text-list underneath.

Is this correct?
User avatar
Fresh Boarder

GK User
Mon Oct 14, 2013 3:49 pm
Reply with quote
Report this post
OK :) I've got it.
User avatar
Fresh Boarder

GK User
Tue Oct 15, 2013 11:27 pm
Reply with quote
Report this post
Marking this as solved, see you around...
User avatar
Platinum Boarder


cron