Want to remove article on home page

  • roomcircle
  • Topic Author
  • Visitor
  • Visitor
11 years 7 months ago #29535 by roomcircle
Want to remove article on home page was created by roomcircle
I have attached modules on home page at user5 ,6 and 7 position, but my home article does not have any text.
Because of this empty article is visible on home page.I want to remove this box, I cannot unpublish it as it is home page.
Second, I want some black portion visible below the articles or modules.They are merged with footer1 position.What to do?

Please Log in to join the conversation.

More
11 years 7 months ago #29543 by ivan.milic
In index.php of template find opening of body tag: <body

and add code like this(bold one):

<body class="<?php $menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { echo " home "; } ?>"

then add to template_css.css:

.home .main_area{
display:none;
}

Please Log in to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum