Meet gavern article title above not bellow the article

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Wed Feb 05, 2014 12:22 pm
Hi
How can I make the name of the item article to appear above the image of the article not bellow? Example how it looks now is here http://demo.gavick.com/free/meetgavern/index.php/template/content/single-article
Reason: Once the image is portrait it's hard to find the title :ugeek:
The order I'm after is:
TITLE
IMAGE
TEXT

Thank you!
User avatar
Expert Boarder

teitbite
Wed Feb 05, 2014 4:53 pm
Hi

Depending from the type of article You can change the order in a file connected with this layout.

For K2 items it's: /html/com_k2/default/item.php

For joomla article it's /html/com_content/article/default.php
User avatar
Moderator

GK User
Mon Feb 17, 2014 4:50 pm
It is K2 Item so I have found the file here /templates/meet_gavern/html/com_k2/templates/default/item.php rather than
teitbite wrote: /html/com_k2/default/item.php
Edited the code on server and cut the <header> and it's content and inserted juste before this line
Code: Select all
<?php if($params->get('itemImage') && !empty($this->item->image)): ?>
this seems to work OK.
User avatar
Expert Boarder

teitbite
Wed Feb 19, 2014 9:25 pm
Hi

Yes, that's a correct solution. Glad You made it.
User avatar
Moderator

GK User
Mon Sep 01, 2014 12:40 am
I'm having a difficulties to achive the same result by editing PHP code for the joomla article version :dry:
/html/com_content/article/default.php

could you please help me how to get the heading in the article above the inserted picture? Thank you
User avatar
Expert Boarder

teitbite
Mon Sep 01, 2014 6:59 pm
Hi

From what I see the order is correct in this file already. So it has to be a style thing. Please tell me the url to the page with an example of such article.
User avatar
Moderator


cron