What is missing to hide author from being viewed?

Rob Sestito
Mega Sage

Hey SN Comm Team,

I am having a little trouble hiding the name of the author for our articles on the portal page. Specifically the widgets.

I have gone through the knowledge portal page, widget(s) being used, portal instance, page designer, widget editor, anything I can think of to add the following into the CSS:

.author {
  display:none !important;
}

Since the OOTB Widgets for Most Useful and Most Viewed are read only policy, I cloned both and added in the CSS you see above.

The Knowledge Portal has the CSS added, Knowledge Page (kb_home/kn_article_view/kb_article) all have the CSS added, but the author is still showing on the widget itself. Everywhere else, the CSS is working for me.

Can someone lend a hand and let me know what I could be missing?

Cheers,

-Rob

1 ACCEPTED SOLUTION

Hi Rob,

 

On the server scripts you have the fields being pushed in here:

 

find_real_file.png

Line 59 to be precise. 

Removing the fields you don't want should stop it being displayed.

 

Thanks

 

Jake

View solution in original post

4 REPLIES 4

Jake Sadler
Kilo Sage

Hi,

 

Can you provide can screenshot of where you want this removed?

 

Thanks

 

Jake

Hey Jake,

From the knowledge portal page, specifically the widgets (as mentioned in original post) - I cannot seem to hide the author name.

find_real_file.png

From the Knowledge Page Search results: (which also has the CSS added)

find_real_file.png

 

 

However, with the CSS I showed above, It is working in the other places for me:

In the actual article view

find_real_file.png

My search from the HR home page

find_real_file.png

Portal Instances, Page Instance, all have the CSS added to it as well.

Hope this helps - let me know if you need more.

Cheers, 

-Rob

Hi Rob,

 

On the server scripts you have the fields being pushed in here:

 

find_real_file.png

Line 59 to be precise. 

Removing the fields you don't want should stop it being displayed.

 

Thanks

 

Jake

Hey Jake,

Thank you very much! I thought the CSS would cover it like it has for everything else.

Good to know the Server Script also needs the modification.

Thank you again,

-Rob