- Posts: 45
COMMUNITY FORUM
changing layout of item content !!!
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
13 years 3 months ago #97201
by Sanjiv Khullar
I currently have the k2 template where the main content in each item is set for the right side
www.askontario.com/index.php?option=com_k2&view=item&id=49:band-baaja-baaraat&Itemid=74
How do i change it so that it is below the 2 columns and with 100% width ?
Do I make changes to the div.itemFullText {} in k2.css ?
Thanks
SK
changing layout of item content !!! was created by Sanjiv Khullar
I currently have the k2 template where the main content in each item is set for the right side
www.askontario.com/index.php?option=com_k2&view=item&id=49:band-baaja-baaraat&Itemid=74
How do i change it so that it is below the 2 columns and with 100% width ?
Do I make changes to the div.itemFullText {} in k2.css ?
Thanks
SK
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
13 years 3 months ago #97202
by Yiota
Replied by Yiota on topic changing layout of item content !!!
Under which two columns you want to movie it?
Please Log in or Create an account to join the conversation.
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 3 months ago #97203
by Sanjiv Khullar
Replied by Sanjiv Khullar on topic changing layout of item content !!!
Right now the main item content publishes on the right column i would like to publish it below and in its own row at 100%width
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
13 years 3 months ago #97204
by Yiota
Replied by Yiota on topic changing layout of item content !!!
You will have to modify the item.php of the k2 template. First, be sure that you are using K2 overrides. Locate the extrafields, for example, see where the block ends and just put a clear div.
Please Log in or Create an account to join the conversation.
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 3 months ago #97205
by Sanjiv Khullar
Replied by Sanjiv Khullar on topic changing layout of item content !!!
i have moved the code to above the user comments in the item.php and nothing happens
<div class="clr"> <?php if($this->item->params->get('itemFullText')): ?> <!-- Item fulltext --> <div class="itemFullText"> <?php echo $this->item->fulltext; ?> </div> <?php endif; ?> </div> <!-- Item user comments -->
please advise
<div class="clr"> <?php if($this->item->params->get('itemFullText')): ?> <!-- Item fulltext --> <div class="itemFullText"> <?php echo $this->item->fulltext; ?> </div> <?php endif; ?> </div> <!-- Item user comments -->
please advise
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
13 years 3 months ago #97206
by Yiota
Replied by Yiota on topic changing layout of item content !!!
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
If you like send me the file and I will make the modification for you.
Please Log in or Create an account to join the conversation.
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 3 months ago #97207
by Sanjiv Khullar
Replied by Sanjiv Khullar on topic changing layout of item content !!!
Yiota
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
Please Log in or Create an account to join the conversation.
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 3 months ago #97208
by Sanjiv Khullar
Replied by Sanjiv Khullar on topic changing layout of item content !!!
Sanjiv Khullar said:
Yiota
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
Yiota
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
13 years 3 months ago #97209
by Yiota
Replied by Yiota on topic changing layout of item content !!!
Could you sent me the file that you are using right now?
It will probably be in templates/your_template/html/com_k2/default/item.php
It will probably be in templates/your_template/html/com_k2/default/item.php
Please Log in or Create an account to join the conversation.
- Sanjiv Khullar
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
13 years 3 months ago #97210
by Sanjiv Khullar
Replied by Sanjiv Khullar on topic changing layout of item content !!!
Here you go
I sent you the one in components directory not templates directory Sanjiv Khullar said:
Yiota
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
I sent you the one in components directory not templates directory Sanjiv Khullar said:
Yiota
Thank you for your assistance
Sanjiv
Yiota Ziaggou said:
<div class="clr"></div>
If you like send me the file and I will make the modification for you.
Please Log in or Create an account to join the conversation.