44 Posts
Tina
8 years ago
4
Topic

In the search results, there is a text field with multiple lines (WYSIWYG editor field). I want the text to wrap on additional lines under the text, not wrap at the margin where the text is under label. What can I do to fix this problem? Example:

Description: this is the

example of the wrong way.

Description: this is the example

                    of the correct way.

Get a VIP membership
1283 Posts
Bucklash
8 years ago
1
Level 1

Hi Tina

You got yourself a css and html conundrum there.

What is your html? 

what have you tried?

Bucklash

44 Posts
Tina
8 years ago
0
Level 2

For some fields that have long text and I need all rows indented, I added option <2>, html typography with <div>*value*</div> where the class1:

class1{padding: 0px 0px 0px 145px; width: 80%;} which worked.

I have one multivalued field, subjects, with php string str_replace used to change the list separator, ";" to ", ". I need to add the padding styling to this field. The php string is already used in the typography spot for this field. What can I do? If I change the typography to html, how do I add the str_replace? I tried to add php code with str_replace but it did not work. Another option is to create another field where I get the subject field w/ the str_replace, then add the html <div> around it. Any suggestions?

1283 Posts
Bucklash
8 years ago
0
Level 1

Hi Tina

If I understand correctly, can you do this:

replace ';'

with

'</span><span>,'

Bucklash

ps

I've never used the str_replce with Seblod...

1283 Posts
Bucklash
8 years ago
0
Level 1

Hi Tina

If I understand correctly, can you do this:

replace ';'

with

'</span><span class="some-class">,'

Bucklash

ps

I've never used the str_replce with Seblod...

Get a VIP membership