44 Posts
Tina
8 years ago
6
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 and text. What can I do to fix this problem?


Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
4
Level 1

This is a styling problem that can only be fixed by changing/adding some css, consult your template designer

44 Posts
Tina
8 years ago
3
Level 2

For some fields that have long text and I need all rows indented, I added option <2>, html typography with <div class="class1">*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. 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 class="class1"> around it. Any suggestions?

4229 Posts
Kadministrator
8 years ago
0
Level 3

Why don't you just add some css class to the field (markup class)? Then you can style it according to your desires, field is already enclosed in div, you don't need to add another one.

1283 Posts
Bucklash
8 years ago
0
Level 3

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 3

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 Book for SEBLOD