Hello,

You are still seeing the other form control because that one is added on a :before pseudo element while yours is added on an :after .

You should change the rule to override the :before element like this:


map > topicmeta > data-about > data[name="icon_url"]:before {
     content: "Pick a local icon or a remote URL for the icon:"
        oxy_urlChooser(       
        edit, "@href",
        columns 50);
}

The CSS Inspector view [1] is quite useful to debug such situations.

[1] https://www.oxygenxml.com/doc/versions/20.1/ug-editor/topics/author-css-inspector-view.html

Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com 
On 9/7/2018 12:57 AM, Steven Anderson wrote:
In my DITA topic I have the following:

<map xml:lang="en-us" linking="none">
 <title>Title</title>
 <topicmeta>
  <shortdesc>shortdesc</shortdesc>
  <data-about>
   <data name="icon_url" href="http://<some_path>"/>

In author view, by default, I see a form field for the name.  I'd like to override that using CSS.

I figured out how to do 

map > topicmeta > data-about > data[name="icon_url"]:after {
     content: "Pick a local icon or a remote URL for the icon:"
        oxy_urlChooser(        
        edit, "@href",
        columns 50);
}       

which allows me to show a picker for an attribute I do want to display, but, I still see the form field for the name attribute.  

Same issue for the value field; if I want to hide it, how can I hide it?


--

     Steve



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user