Actually, I think I may have solved this. I created another custom template folder and altered line 207 of item.php from: <span class="itemImage"> to: <span class="itemImage_crew"> Calling that new template from the k2 Edit Category...
Hi, this may seem like a dumb question, but is it possible to add custom .css classes to K2 item so that they can be styled individually? I've made a responsive css file which hides the article image when the screen is wide (a video is...
Finally got it to work. I renamed item.php in components/com_k2/templates/default - to itembak.php I renamed item.php in templates/mytemplate/html/com_k2/default - to itembak.php I duplicated this file and made the changes I wanted,...
So WIlliam, I did some further investigation by stripping out elements of K2, this may help work out the issue. If I do the following: • Remove the folder templates/mytemplate/html/com_k2/default - no change to layout, no effect •...
Yup, I typed a load of gibberish before the first <?php tag and nothing appeared at all. I wonder what occurs? Is this a typical issue? Thanks for your time of this William. Template is from YouJoomla, YouResponse. Joomla! is very latest version.
I cut and pasted that code into item.php in my overrides folder and it had no effect whatsoever, the video is still under everything else (tags, twee link etc.) Was it supposed to have moved the video? I admit, I didn't get round to...
Component 2.6.2 William.
So, I duplicated my default folder from the components folder and placed this inside my templates folder in the correct place. I can select the new template from inside the K2 CMS, that's all good. However, the block of code that I have...
More