最近搜索


没有最近搜索

David Crichlow's Avatar

David Crichlow

已加入2021年4月16日

·

最后活动2022年10月13日

关注

0

关注者

0

活动总数

6

投票

0

订阅

1

活动概览

的最新活动 David Crichlow

David Crichlow 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Stuart Buddrige my solution doesn't stop you from viewing the article if you have the direct link. It just removes it from the list in the category or section pages. On further thought, a user could still search for the article and find it, so this wouldn't fully solve your problem

查看评论 · 已于 2022年10月13日 发布 · David Crichlow

0

关注者

0

投票

0

评论


David Crichlow 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Stuart Buddrige I'm not sure I fully understand the question, but I manually added the CSS style close to the top of the CSS file.

查看评论 · 已于 2022年10月12日 发布 · David Crichlow

0

关注者

0

投票

0

评论


David Crichlow 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Stuart Buddrige can you post an example of the CSS that you used?

Mine looked something like this 

a[href*="/hc/en-us/articles/44166706125-Order-Taker-Order-Payment"] {
    display:none;
}


Depending on your other styles you may try !important after none.

display: none !important;

查看评论 · 已于 2022年10月11日 发布 · David Crichlow

0

关注者

0

投票

0

评论


David Crichlow 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Hi Stuart Buddrige,

I did something like the following using CSS to hide the article from the list of articles.


a[href*="/hc/en-us/articles/ArticleID-Name-of-Document"]
{
    display:none
}

I used Chrome developer tools to get the exact URL of the link. The article is still published, and if you enter the URL into the browser, you can access it. However, the link is not available for your customer to click.

Of course, you would need to do this for every article. Though if you created a section for these articles, you could probably just hide the entire section using a similar method.

查看评论 · 已于 2022年9月26日 编辑 · David Crichlow

0

关注者

0

投票

0

评论


David Crichlow 进行了评论,

社区评论 Discussion - Tips and best practices from the community

I would like to place this banner over several articles. However, it is repeating the alert banner for each article that has the label. Could you help, please? I'm not sure what I am doing wrong. I essentially only want to show the banner over articles with the alert label. Not over the entire help center. I moved the alert HTML from the header page to the alerts page, but it is still showing a separate alert for each article.

查看评论 · 已于 2021年3月08日 发布 · David Crichlow

0

关注者

0

投票

0

评论