Hiding xi:fallback contents in Author mode

<oXygen/> general issues.
kim
Posts: 4

Hiding xi:fallback contents in Author mode

Fri Sep 09, 2016 9:53 pm

Hi,

While in Author mode, I'm trying to come up with a way to hide the contents of xi:fallback if the xi:include link resolves. I'm thinking I might be able to do this with CSS, but have been unsuccessful. Any thoughts?

Thanks!
alex_jitianu
Posts: 629

Re: Hiding xi:fallback contents in Author mode

Tue Sep 13, 2016 9:29 am

Hi,

Yes, fortunately you can do it from the CSS using a rule like this:

Code: Select all

*:-oxy-referenced-content ~ fallback {
    display : none !important;
}


Best regards,
Alex
kim
Posts: 4

Re: Hiding xi:fallback contents in Author mode

Tue Sep 13, 2016 3:54 pm

That seems so very obvious now :)

Thanks, Alex, it works great!

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests