Jump to content


Photo
- - - - -
Resolved

Buddypress Pages On Mobile Devices

buddypress browser specific css

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts

Posted 15 November 2012 - 05:00 PM

Hi,

Earlier discussions was marked as resolved, but actually it was not.

In short:

- Browser specific css plugin is not working on buddypress pages. Sugggestion was that it had to do with buddypress itself.
- On the buddypress forum they are saying it is not a buddypress problem as such. The Browser specific css code is working for the bp-default theme when added to the bp-default functions.php file. Their suggestion is that it has to do with the priority settings of the body_classes filter.
- Buddypress uses the body_classes filter too:

Please Login or Register to see this Hidden Content

. At the end they merge the buddypress classes with the wordpress classes.
- That brings me back to pagelines. I have tried different priority settings for the body_classes filter in both the Browser specific css and Buddypress plugin without any results.

Any idea how I can prioritize the filter the right way?

Thank you.

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 15 November 2012 - 05:42 PM

just change the priority in the browsercss plugin:

Please Login or Register to see this Hidden Content



#3 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts

Posted 16 November 2012 - 10:55 AM

Perfect! It is working.

I tried

Please Login or Register to see this Hidden Content


As the wordpress documentation (

Please Login or Register to see this Hidden Content

) tells 10 is default and lower numbers correspond with earlier execution...

Anyway it is resolved now.

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 16 November 2012 - 11:35 AM

The topic was marked as resolved.