15 Posts
giorgia74
10 years ago
Topic

hello,

I apologize for my English, I am Italian and use an automatic translator.

I have a particular need, I am creating a database with pharmaceutical seblod, my problem is to show the changes (in my case the ingredients of a medication) as if they were in a printed label, ie one after the other so discourse on the same line with no margins, as in the attached example. I built the content type and the type of list and look for and placed the fields (ingredient 1, ingredient 2, 3, etc.) in the various positions of the template, but unfortunately I do not know how to set the parameters of the style of the various positions to ensure that ingredients (filterable by type eg preservatives, parabens, etc.) are displayed below as simple text.

Thank you very much for your help.

Giorgia

Get a VIP membership
10 years ago
1
Level 1

Hello,

Try to do this by using variation apply on a positon.

In the edition of your content type, on line for a position select a variation. Then click on the little "+" near the variation selected.

Regards.

15 Posts
giorgia74
10 years ago
0
Level 2

Hello,

thanks for your reply, I already tried with the variants with the different styles seb_css3, joomla, joomla17 etc., but none of them I found an option or setting that allows me to do so. Analyzing the page with firebug I tried to insert the tag "display: inline;" instead whith 50% in this line:

/* Variation: joomla on cck1661_mainbody */
#cck1661_mainbody.joomla.horizontal div.cck_contents { width: 50%; }

and it worked, my fields have positioned the one next to each other on the same line going to head in automatic, but I have no idea where to find the file where I can actually change.

I do not know if I explained properly, you understand?

thanks
Giorgia

10 years ago
0
Level 1

Hello,

all is in the seb_css3.

Just set the orientation horizontal, and play with the width (50% for 2 fields, 33% for 3 fields...)


regards.

Lionel

Get a VIP membership