Hide previous image K2 Technews template

September 2015 Joomla Template
GK User
Fri Apr 15, 2016 2:03 pm
Hello,

We have bought the Technews template and we would like to hide the main image of the article. Is it possible? Could you please let us know how to do it?
When we choose the options of the categroy we area ble to redimensionate it, hide the title of the picture... but the option of hiding the image it does not work

Thank you in advance!
User avatar
Junior Boarder

teitbite
Tue Apr 19, 2016 9:44 am
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
.item-content img,
header img,
#k2Container img {
    display: none;
}
User avatar
Moderator

GK User
Wed Apr 20, 2016 9:13 am
The override.css is an empty file?
I added and does the same
Deactivation should make the category of K2?
or template?
Thank you
User avatar
Junior Boarder

GK User
Sat Apr 23, 2016 2:46 pm
Hello,
We just bought the template technews this week and has this same problem. :cry: :cry: :cry:
I say this answer ... https://www.gavick.com/forums/technews/ ... late-51025
Gavick, please ...

Thank you very much dzalang
https://www.gavick.com/forums/hotel/can ... mage-47712
User avatar
Junior Boarder

teitbite
Mon Apr 25, 2016 10:35 am
Hi

The piece of the code I posted above is a way to hide images. Specific layout of this template is forcing to show image in articles despite the settings in joomla articles or k2 item.

Override.css file is an empty file since it's prepared for any css changes You may need to add to the template. Please make sure "Override" is activated in template settings in order to use this file.
User avatar
Moderator

GK User
Tue Apr 26, 2016 6:34 am
Code does not work with me, with this code in PHP if !.
https://www.gavick.com/forums/hotel/can ... mage-47712
the template is not because it forces display an image. This is through the control module and the article.
regards
User avatar
Junior Boarder

teitbite
Tue Apr 26, 2016 10:40 am
Hi

I'm afraid I do not understand @ajcassa, please try to explain it a little better. Show me some screenshots, tell the url to the page with this issue.
User avatar
Moderator


cron