Formatting text in an html element -...

User 379556 Photo


Registered User
1,533 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,782 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
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://alphathemes.coffeecup.com/forms … an%281%29/
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

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.