BooKIT Joomla 1.5 n -of-type选择选项



我有一个使用Joomla 1.5和一个名为BooKIT的预订组件的旧网站。我的客户要求我删除其中一个预订项目,但似乎没有办法删除它们。表单在"选择"选项框中显示所有预订项目。因为没有这些值的痕迹,我试图用CSS隐藏一些HTML选项值,但以下代码没有响应:

*Using nth-of-type - not working*
select#filter_catid option:nth-of-type(2) {
display:none !important;
}
*Below the CSS already in use that works but not selecting nth*
select#filter_catid {
font-size: 2rem !important;
background-color: #B9B695 !important;
color: aliceblue !important;
border: double;
border-radius: 15px;
padding: 10px;
margin-left: 50px;
}

问题解决

我记得在Joomla的早期版本中,当更改任何内容时,我需要清除浏览器缓存以查看所做的任何更改。

最新更新