Keyword

latestItemsContainer - Setting width for this style

More
6 years 1 month ago #169675 by D
Hi everyone.

I'm working with K2 and notice that this div:

div class="latestItemsContainer" style="width:50.0%;"

has it's width set as an inline style.

I need the width to be 100%,

Since it's an inline style I'm guessing the width is set programmatically based on a setting in K2.

Can anyone point me to that setting?

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #169684 by JoomlaWorks
Replied by JoomlaWorks on topic latestItemsContainer - Setting width for this style
First off, have a look at this: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

After you copy the K2 overrides inside your Joomla template, edit the file latest.php at around line 26 and remove the width value. Better still, adjust the columns (to 1) in the related menu item so it's more flexible in the future.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum