Add a dummy article for the home page. Then you could target styles for that page and the content. Add display: none; for that element in the style sheet. Use the itemid class from the <body> tag. Use Firebug to find your body itemid class and the element with the content.
For example:
<body class="site com_content view-article no-layout no-task itemid-101">
Then in the stylesheet:
body.itemid-101 .item-page{
display: none;
}
Realize you will have to repeat this if you do upgrades to your Joomla install or copy and rename the Protostar template through Template Manager. Click to Protostar in the Template column and click on Copy Template.
via Joomla! http://ift.tt/1Kjivpo
For example:
<body class="site com_content view-article no-layout no-task itemid-101">
Then in the stylesheet:
body.itemid-101 .item-page{
display: none;
}
Realize you will have to repeat this if you do upgrades to your Joomla install or copy and rename the Protostar template through Template Manager. Click to Protostar in the Template column and click on Copy Template.
Statistics: Posted by Zemplate — Thu Feb 05, 2015 5:49 pm
via Joomla! http://ift.tt/1Kjivpo
No comments:
Post a Comment