General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › CSS selector for nested topic titles
-
Bilderberg March 4, 2020 at 3:29 pm
CSS selector for nested topic titles
March 4, 2020 at 3:29 pmParticipants 1Replies 2Last Activity 2 years, 3 months agoXMetal Author Enterprise 14.0
Binary#: 14.0.0.053
Installer#: 14.0.082I've modified ditabase-derived.css to alter the WYSIWYG view in XMetal. However, I can't figure out how to select a topic title that is nested three deep i.e. a subtopic in a subtopic in a topic.
I've tried the following, and many variations, to no avail:
[class~=”topic/topic”]>[class~=”topic/topic”]>[class~=”topic/topic”]>[class~=”topic/title”]
font-size: 15pt;
}nhu1 March 5, 2020 at 12:43 am
Reply to: CSS selector for nested topic titles
March 5, 2020 at 12:43 amHi,
Please modify …DITAXACs1.3ditabaseditabase-derived-override.css
I tried following,
[class~=”topic/topic”] > [class~=”topic/title”] {
color: green;
}
[class~=”topic/topic”] > [class~=”topic/topic”] > [class~=”topic/title”] {
color: maroon;
font-size: 30px;
}
[class~=”topic/topic”] > [class~=”topic/topic”] > [class~=”topic/topic”] > [class~=”topic/title”]
{
color:red;
font-size: 40px;
}Regards,
Ning
Bilderberg March 5, 2020 at 8:41 am
Reply to: CSS selector for nested topic titles
March 5, 2020 at 8:41 am -
AuthorPosts
- You must be logged in to reply to this topic.