Title: CSS &quot;current_page_parent&quot; problem
Last modified: August 21, 2016

---

# CSS "current_page_parent" problem

 *  [Arne Teubel](https://wordpress.org/support/users/arnerobot/)
 * (@arnerobot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/css-current_page_parent-problem/)
 * Hello there,
 * I have the following problem with the plugin or rather with a detail of my usage.
   I am trying to implement a blog/news page with the single articles loaded via
   AJAX as well like the rest of the site. The link to the page is here:
 * [http://arneteubel.com/kunden/vianney-hospital/neues/](http://arneteubel.com/kunden/vianney-hospital/neues/)
 * Now I have the problem that when I change the page from “Neues” let’s say to “
   Gesellschaft” I have to remove the “current_page_parent” styling which I do via
   the “Click Code”. That works fine so far! BUT when I change from one news article
   to another news article inside the “Neues” section the css styling is also removed.
 * Is there any solution how I can somehow apply or re-apply the “current_page_parent”
   when I navigate inside the “Neues” section?
 * Thank you and regards, Arne
 * [https://wordpress.org/plugins/advanced-ajax-page-loader/](https://wordpress.org/plugins/advanced-ajax-page-loader/)

Viewing 1 replies (of 1 total)

 *  [physalis](https://wordpress.org/support/users/physalis/)
 * (@physalis)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/css-current_page_parent-problem/#post-4668685)
 * Hi Arne,
 * how are you re-applying and deleting the “current” class from menu items? Do 
   you have some code for me :)? However, did you find a solution for your problem?
 * Best
 * physalis

Viewing 1 replies (of 1 total)

The topic ‘CSS "current_page_parent" problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-ajax-page-loader_bcd4a4.
   svg)
 * [Advanced AJAX Page Loader](https://wordpress.org/plugins/advanced-ajax-page-loader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ajax-page-loader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ajax-page-loader/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ajax-page-loader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ajax-page-loader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ajax-page-loader/reviews/)

## Tags

 * [single posts](https://wordpress.org/support/topic-tag/single-posts/)

 * 1 reply
 * 2 participants
 * Last reply from: [physalis](https://wordpress.org/support/users/physalis/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/css-current_page_parent-problem/#post-4668685)
 * Status: not resolved