Description text in 2 columns

More
12 years 6 months ago #25183 by acvmultimedia
Hello,

Can I change description text to 2 columns?



Thanks!

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

More
12 years 6 months ago #25184 by micker
copy your template in administration and edit
category item.php for category and
item.php for item
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 6 months ago #25185 by acvmultimedia
Thanks micker, but I don´t understand what I have to change in item.php

This is part of my code:
Code:
<!-- BOF description --> <div class="description"> <!-- BOF descriptionlecturas block --> <?php if (isset($this->item->positions['descriptionlecturas'])) : ?> <?php foreach ($this->item->positions['descriptionlecturas'] as $field) : ?> <div class="descriptionlecturas field_<?php echo $field->name; ?>"> <?php echo $field->display; ?> <div class="clear"></div> </div> <?php endforeach; ?> <?php endif; ?> <!-- EOF descriptionlecturas block --> <?php foreach ($this->item->positions['description'] as $field) : ?> <?php if ($field->label) : ?> <div class="desc-title"><?php echo $field->label; ?></div> <?php endif; ?> <div class="desc-content"><?php echo $field->display; ?></div> <?php endforeach; ?> </div> <!-- EOF description --> <?php endif; ?> <div class="clear"></div> <?php if (isset($this->item->positions['bottom'])) : ?> <!-- BOF bottom block -->

Thanks again

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

More
12 years 6 months ago #25186 by micker
in css3 you can use thius in description class in item.css
Code:
-webkit-column-count:3; -moz-column-count:3; -o-column-count:3; -ms-column-count:3; column-count:3;
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 6 months ago #25187 by acvmultimedia
Thanks!

Now I have this code in item.css
Code:
div.descriptionlecturas{ float: right; margin-left: 5%; margin-right: 5%; margin-bottom: 5%; } div.description{ -webkit-column-count:2; -moz-column-count:2; -o-column-count:2; -ms-column-count:2; column-count:2; }

But what I have to do to move the image to right column?

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

More
12 years 6 months ago #25190 by micker
float left on image i think

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.465 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline