CSS: -oxy-append-content kills original icons

<oXygen/> general issues.
Posts: 228
Location: Hamburg/Germany

CSS: -oxy-append-content kills original icons

Tue Nov 10, 2015 4:47 pm


in one css file I'm adding some buttons to an element using relative urls for the icons.
Now in another css file (located in another folder) I'm adding additional content (i.e. another button with icon) using -oxy-append-content.
The effect is now that the icons of the original buttons are no more displayed (but the text instead).

My guess is that the URLs are now being resolved relative to the URI of the file that added the new button. (Using Oxygen 17.0)

Any idea how I can add additional buttons from another file without killing the original icons?

Thanks and regards,

Posts: 190

Re: CSS: -oxy-append-content kills original icons

Wed Nov 11, 2015 11:32 am

Hi Patrik,

Thank you for reporting this problem. Indeed, the URLs used in the content declared in CSS are resolved relative to the location of the CSS where you used the "-oxy-append-content" property. I have registered this problem in our internal issue tracker and we will let you know when the fix will be available.

In the meantime you can use multiple before pseudo-elements to append content from different CSS sources. Here are some details and samples:
Mihaela Calotescu

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests