Formatting text in an html element -...

User 379556 Photo


Registered User
1,331 posts

I used a text element (with some random words in it) rather than a container. That makes it easy to choose fonts and other styling wholly within Site Designer. The script replaces whatever text is put in the text element.

Frank
User 2699991 Photo


Registered User
4,200 posts
Online Now

Ahh i missed that, which solves the font type.
A nice component for anyone who sees it to use Frank.

Inger
I think the solution provided by Frank really is the easiest


Ernie's problem isn't with the JS script for "the number of years", his problem is that the custom CSS he had made, didn't display the words (in the script) at lower device widths. A simple correction (copy/paste) to the CSS makes that happen.

Anyway Ernie now has a couple of options available

Take care everyone as usual, and stay safe & well wherever in the world you are.


W
Here is my secure email details form
https://rsd-tutorialscom.coffeecup.com/ … tutorials/
User 187934 Photo


Senior Advisor
19,941 posts

Frank Cook wrote:
I used a text element (with some random words in it) rather than a container. That makes it easy to choose fonts and other styling wholly within Site Designer. The script replaces whatever text is put in the text element.

Frank

I was already doing the same thing thus my response.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 188640 Photo


Registered User
895 posts

OK, for what I was trying to do I went with Wayan's method. It was very quick and easy.

Thank you everyone for your input.
Ernie
A Rose is Just a Weed in a Corn Patch!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.