How to hide the empty mainbody position

October 08 Joomla Templates
GK User
Fri Jan 27, 2012 9:10 pm
Hi,

I've got a category-page that only consists of News Pro modules. Now I would like to hide the blank Mainbody (the field with the RSS icon) above the modules.
Can you tell me how I can do that for this particular page?

Kind regards

Bildschirmfoto 2012-01-26 um 20.20.13.png
User avatar
Fresh Boarder

GK User
Fri Jan 27, 2012 9:47 pm
You could take a look at this post it may help https://www.gavick.com/support/forums/58/13255.html
User avatar
Expert Boarder

GK User
Fri Jan 27, 2012 10:14 pm
Try adding a page class 'nodisplay' in the menu manager for that menu link.

Add this to override.css
Code: Select all
div#gkMainbody.nodisplay {
display: none;
}
User avatar
Expert Boarder

GK User
Sat Jan 28, 2012 1:01 pm
I tried that but there is no change...
User avatar
Fresh Boarder

GK User
Sat Jan 28, 2012 2:24 pm
My bad the class is applied at the wrong place for that to work. :oops:

Here's a plan B.

You will need to download and install the Custom CSS Module by Hyde-Design. Once installed paste this code in the Custom CSS field...
Code: Select all
/* Custom CSS */
#gkMainbody {
display: none;
}


Assign the module to a position and use the menu assignment option to target the required pages. If you need more control over the assignment you can install nonumber advanced module manager, if you haven't already installed it. Publish the module and visit the assigned pages.
User avatar
Expert Boarder


cron