Page 1 of 1
CMS label Wrap
Posted: Sun May 08, 2022 7:50 am
by wwonderfull
I was checking the cms tools and found out that the labels with long text does not wrap which goes outside the maximum width. Is there any way to wrap the long title text responsive by wrapping?
Re: CMS label Wrap
Posted: Sun May 08, 2022 9:14 am
by Pablo
What is the URL of the page so I can see what you have done?
Re: CMS label Wrap
Posted: Sun May 08, 2022 9:47 am
by wwonderfull
Pablo wrote: Sun May 08, 2022 9:14 am
What is the URL of the page so I can see what you have done?
I am doing it in localhost wamp server as I have about 30 pages there with login page, database, cms and other pages. There is no custom code involved and the settings are in default.
but only the CMS LABEL seems not to be responsive if it the text is too long, although all the elements are inside layout grid.
The title which is used as $cms_title when I write a 100 word title the cms-label does not get responsive with the smaller screen size.
Re: CMS label Wrap
Posted: Sun May 08, 2022 10:36 am
by Pablo
The CMS label was not designed to display multiple lines.
If you want different behavior then you can add custom code via Page HTML.
Re: CMS label Wrap
Posted: Sun May 08, 2022 11:31 am
by wwonderfull
Pablo wrote: Sun May 08, 2022 10:36 am
The CMS label was not designed to display multiple lines.
If you want different behavior then you can add custom code via Page HTML.
Can I use A text object or a H1 object give it a proper color and heading and still get the $cms_title variable? And if I do use the text object or the heading then where to put <?php echo $cms_title; ?>
How to use the echo in html object and where to put value $cms_title
Is it possible to give an example code I can work with.
Re: CMS label Wrap
Posted: Sun May 08, 2022 11:47 am
by Pablo
Yes, you can also use an HTML object. But then you will need to do the styling yourself.
Re: CMS label Wrap
Posted: Sun May 08, 2022 12:05 pm
by wwonderfull
Pablo wrote: Sun May 08, 2022 11:47 am
Yes, you can also use an HTML object. But then you will need to do the styling yourself.
Ah.. Thank You pablo.. Best of teachers. I did it using the "Heading tool" the title is now fully responsive
