Skip to main content
Known Participant
April 25, 2008
Question

Expanding Text

  • April 25, 2008
  • 9 replies
  • 798 views
RH7
WebHelp

I have an expanding text link that properly displays the expanded text, except for the color of the text. Regardless of what I do, e.g., change the color in the style sheet and even change the color within the Expanding Text text box, the result is the same -- black text. What am I doing wrong?
This topic has been closed for replies.

9 replies

Peter Grainge
Community Expert
Community Expert
September 23, 2008
Open the stylesheet in notepad. Locate the content below.

A.expandspot {
cursor:hand;
font-variant:small-caps;
font-weight:bold;
font-style:normal;
color:#008000;
text-decoration:none; }
SPAN.expandtext {
font-size:12pt;
font-weight:normal;
font-style:normal;
color:#000000;
font-variant:normal; }

Move it to the end of the file.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participant
September 23, 2008
ok, the mail is on the way.

Thank you.

Detlev
Peter Grainge
Community Expert
Community Expert
September 23, 2008
Yes I did mean delete it.

Import a topic with this problem into a new project. Check the problem still exists after the import.

If it does, zip up and email that project to me via my site.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participant
September 23, 2008
Hello Peter,

ok, let him sleep ;-).

I think you mean delete (-> stripping out, i could not find any translation?), or?

If i do this, the colour of the expanding text change into black and that's wrong. The style colour has to be like in the code and this is added by me after checking the code because the text hasn't the right colour.

Detlev
Peter Grainge
Community Expert
Community Expert
September 23, 2008
Right now Rick should be tucked up in bed.

Try stripping out

style="colour: #008000; font-size: 12pt; font-weight: bold;"

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participant
September 22, 2008
No solution for this problem?

Every preview shows the black text-colour, in the template is green the colour for the expanding text.

Captiv8r
Legend
September 22, 2008
Welcome to our community, weltverbesserer

Examine the HTML code behind your topic. You probably have an embedded or inline styling that is overriding what the style sheet specifies.

To check for embedded styling, look near the top of the file and see if you have any code beginning with:

<style>

If you see it, select everything from
<style> to the closing </style and delete it from the code.

After you have done this, click File > Save All. Then see if things seem to display as you expected.

Cheers... Rick
Participant
September 23, 2008
Hello Captiv8r,

every Expanding Hotspot or Text have to be extended with the style information colour. This information is unfortunately lost in the HTML but how does this happened?

I had upgraded from RH5 to RH7 include the service packs. Could this be the reason for loosing the style information?

Did you mean i should delete all style information from the HTML in the projet (> 200 pages) or only in the top of the page-file? The style information only appears directly before the text like shown below.

Greeting from germany

Detlev
Peter Grainge
Community Expert
Community Expert
April 28, 2008
Import a topic into a new project, check it is still not working correctly.

If it is not, zip up the project and send it to me.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
harooki2Author
Known Participant
April 28, 2008
More than one instance, but not all.
Peter Grainge
Community Expert
Community Expert
April 26, 2008
Is it the same with all expanding text or just one instance?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.