Posted 14 November 2012 - 01:03 PM
I've posted a question on about custom css for buddypress pages on mobile devices. The Browser Specific CSS plugin does not set custom body classes on buddypress pages. Would be nice if this feature could be added.
Posted 14 November 2012 - 01:13 PM
Posted 14 November 2012 - 01:26 PM
Posted 14 November 2012 - 01:33 PM
But if BP is changing that filter, or not using it then it isnt going to work.
Posted 15 November 2012 - 09:30 AM
I asked this question on the buddypress forum. The response was that it is probably plugin problem...
Anyway. I looked again at the body classes on my site and I can see that regular pagelins body classes are added to buddypress pages. The question that comes to my mind is: what is the pagelines theme doing different than the browser specific plugin?
Furhter, Buddypress is using the filter too. Here is the function At the end they are merging the buddypress and wordpress classes. Could this be the solution for the browser specific plugin as well?
Posted 15 November 2012 - 02:18 PM
I tested a little further. When I activate the bp-default theme and add the browser specific css code in the bp-default functions.php the body classes are added to all pages. On the buddypress forum it is suggested it has somehting to do with the priority settings of the filter. I tried different priority settings for the filter in the plugin, but without luck. Any ideas how I can prioritze this the right way?