Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Failed to parse the stylesheet

Explorer ,
Jul 11, 2023 Jul 11, 2023

I was working on a project for a long time.
After some weeks I opened it again and when I tried to edit a custom css file, I can read this message:

Esperanza249659241eot_0-1689064033327.png

So when I publish the project, all elements who have a css class which is included in this css file are not correctly shown, because RoboHelp seems to ignore this stylesheet...
Any idea about this issue?
Thank you very much

682
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 31, 2023 Jul 31, 2023

After upgrading to the latest version of RH, everything works properly.

Translate
Community Expert ,
Jul 11, 2023 Jul 11, 2023

Are you on 2022.2? I believe that some changes to the parsing process have been made since earlier versions.

 

I think I would describe it as RoboHelp is not able to read the file correctly rather than that it is ignoring it. 

 

Have you looked at the CSS file in the Style Editor? Usually there are warnings about lines it doesn't like.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 11, 2023 Jul 11, 2023

Hi again... thanks for your response
We haven´t change version and we are working on Version 2020.7.46
Unfortunately, in the css editor we can´t view any warning

In other hand, I noticed that if you include some repeated classname, RoboHelp ignore it when you reopen the file again although doesn´t jump the error alert.
But in my case I need to repeat this classes in the @media queries of my stylesheet... so when I reopen the file jumps the error alert again...

I have tested the code in Visual Studio Code and I don't see any alert... it seems the css code it's ok

I don't understand anything...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 11, 2023 Jul 11, 2023

Can you share the CSS by attaching to a reply? You may need to change the extension to .txt.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 11, 2023 Jul 11, 2023

Yes, of course

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 11, 2023 Jul 11, 2023

It looks more like a skin(template) CSS but it opens in 2022.2 without any problems.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 11, 2023 Jul 11, 2023

We use this kind of files to modify some design aspects of our projects, overwriting existing css to get this changes...

So seems there are no solution for us...

Thank you anyway

Regards

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 11, 2023 Jul 11, 2023

No solution? It's a problem with your version. Can you not upgrade, it's free with your subscription?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 11, 2023 Jul 11, 2023

Well... isn't up to me. We´ll see how to solve it. Thank you very much

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 11, 2023 Jul 11, 2023

Sure. I was just making the point there is a solution. Whether or not you want to go for it is another matter.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 11, 2023 Jul 11, 2023

Out of curiosity I pasted the stylesheet text into a fresh stylesheet in RH2019 New UI and I'm not getting any errors. I'm not sure what that means, but thought I'd post in case it triggers any ideas.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 31, 2023 Jul 31, 2023
LATEST

After upgrading to the latest version of RH, everything works properly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp