Hiding Date Icon

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Thu Nov 29, 2012 2:18 pm
I am using the template Boutique, and can't seem to turn off the date icon. I would think hiding the dates in the article, or menu, within the admin would do the trick, unfortunately it didn't and I had to hide it using CSS.

The client now wants to blog, and the date icon would be useful so I have change the css back, and the date shows up on all articles.
User avatar
Fresh Boarder

Konrad M
Thu Nov 29, 2012 2:22 pm
Hi,
you would like to hide it in joomla or k2 article or both ?
User avatar

GK User
Thu Nov 29, 2012 3:04 pm
Konrad M wrote:Hi,
you would like to hide it in joomla or k2 article or both ?


Both. However if I had to pick one it would be to hide the Joomla date.
User avatar
Fresh Boarder

Konrad M
Thu Nov 29, 2012 3:08 pm
So to hide both please add to override.css
Code: Select all
.itemView .itemDate,
.item-page .itemDate {
display:none;
}

and remember to enable override.css option in template settings.
User avatar

GK User
Thu Nov 29, 2012 3:17 pm
Konrad M wrote:So to hide both please add to override.css
Code: Select all
.itemView .itemDate,
.item-page .itemDate {
display:none;
}

and remember to enable override.css option in template settings.


This is how I solved it originally, but now the client wants to display the date on select pages, such as a news/blog type page, while hiding it on the other pages.
User avatar
Fresh Boarder

Konrad M
Thu Nov 29, 2012 3:21 pm
Ok, so go to template settings. Here in 'features' section you will find 'Suffix for pages' option. Check ID's of items where you don't want show it. Add suffix for example "nodate" and then add to override.css
Code: Select all
.nodate .itemDate {
display:none;
}
User avatar

GK User
Mon Dec 03, 2012 2:06 pm
Konrad M wrote:Ok, so go to template settings. Here in 'features' section you will find 'Suffix for pages' option. Check ID's of items where you don't want show it. Add suffix for example "nodate" and then add to override.css
Code: Select all
.nodate .itemDate {
display:none;
}


and only delete on joomla article, not in k2?
User avatar
Fresh Boarder

Konrad M
Mon Dec 03, 2012 4:49 pm
It will delete it on page where you put suffix for pages. So if you add suffix to page with joomla article it will delete it ony from this page.
User avatar


cron