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

Div styles not working

Explorer ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

After upgrading to RH 2020.7 I'm unable to apply div styles. Say you have a class looking like this:

div.my-style {
    font-size: 28px;
}

The style is visible in the style list but is not applied when picking it in the text editor. If I change the class to a span it works...

span.my-style {
    font-size: 28px;
}

 I had no issues with this prior the update.

Views

96

Translate

Translate

Report

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 ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

It's a known issue long outstanding. If you change the span you have shown to div.my-style it will work.

________________________________________________________

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.

Votes

Translate

Translate

Report

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 ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

Not sure I follow, if I use div.my-style it won't work?

Votes

Translate

Translate

Report

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 ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

The div functionality is a bit of a pain in RH and they seem to break it in a different way every release. I've found it easiest to go in to the code and write iin the div tag and class manually (since about RH8, to be honest).

 

You can request features and report issues here: https://tracker.adobe.com/

 

Post the item number in the discussion so people can easily vote if they want the same functionality.

Votes

Translate

Translate

Report

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 ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

LATEST

Yeah, if I would be the one editing the content that's what I would do to but that's not the case. I'm designing the different styles for our editors. They are writers, not coders, so would like a eassy way for them to style up the content.

I'm gonna report a issue, thanks. 

Votes

Translate

Translate

Report

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