0

I saw something strange on Wordpress. I explain;

I created a menu, added some pages to it. I added a css class to one of the page item, I saved, no problem. Then I added the same css class name to another page item. I saved, then this page item just disappeared. I tried many times and Wordpress seems to disallow a same css class name to more than one object, like it has to be unique.

Is there a reason why it's like that ?

  • do not know what u meant. But everything is ok in my wordpress. I could set up menu item with same css. – ucon89 Jul 16 '15 at 10:31
  • Yeah I don't know. Sometimes it works, and sometimes not. Thanks to have controlled in your side – Kerzzy Jul 16 '15 at 11:29
  • Oh I see. Because I made a function to hide menu items with a certain css class but I didn't know that the administration panel uses it too. My bad – Kerzzy Jul 16 '15 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.