Text Alignment With Long Dyn. Text Addon - Question | JoomShaper

Text Alignment With Long Dyn. Text Addon

TH

Thomas Harsch

SP Page Builder 1 week ago

Hi,

I built up a index page from a collection. I set up an image and a text to be shown on that index page. I set the alignment for the text to be centered.

When I have long texts and a word-wrap is necessecary, the alignment got broken and it "switches" the text to be aligned to the left.

You can view an example here: https://picsnmore.de/sammlung/buecher (Look at "Sounds mit Basic" or "Commodore 1571 & 1570")

This also happens when I show parts of another collection on a detailed page: https://picsnmore.de/sammlung/vintage-computersysteme/c128 (Click on "Software" to view an example on the entry "Pirates!")

0
6 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 week ago #229538

Ok, you can now also add this CSS in your custom.css file

#sppb-addon-f34db8ad-465e-4010-b1c9-a6d13396ba27 .sppb-dynamic-content-text {
    white-space: nowrap !important;
}
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 week ago #229353

Hi,

Thanks for contacting us. You can use this CSS in your custom.css file

#sppb-addon-1d2870e5-59f8-49a5-85e1-691adfd5443d .sppb-dynamic-content-text{
    white-space: nowrap !important;
}

-Regards.

0
TH
Thomas Harsch
Accepted Answer
1 week ago #229365

Hello,

thanks for that code. It works for the Index pages, but not for the Details Page (see the second exampe).

Best wishes.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 6 days ago #229710

Hi,

Is this helped?

0
TH
Thomas Harsch
Accepted Answer
5 days ago #229817

TY, work fine for me :-)

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 days ago #229823

Glad to know that and thanks for accepting the answer.

0