Jump to content


Photo
- - - - -
Resolved

Buddypress Pages On Mobile Devices

buddypress css mobile devices

  • Please log in to reply
7 replies to this topic

#1 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 14 November 2012 - 01:03 PM

Hi,

I've posted a question on

Please Login or Register to see this Hidden Content

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.

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 14 November 2012 - 01:13 PM

Well running a filter dependant on a browser string is irrelevant in the case of your site, as you have opted to run a hardcore static page cache and serve the same static file to everyone no mater what browser they are running.

#3 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 14 November 2012 - 01:26 PM

Am I missing something? It does work for all the other pages on my site.

#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 14 November 2012 - 01:33 PM

Well youd have to ask the buddypress people then. The plugin uses the standard body_class filter to add body classes depending on your browser, its very simple.

But if BP is changing that filter, or not using it then it isnt going to work.

#5 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 14 November 2012 - 01:36 PM

Ok. Thank you. I will ask them.

#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 15 November 2012 - 01:15 AM

The topic was marked as resolved.

#7 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 15 November 2012 - 09:30 AM

Hi,

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?

Thank you.

#8 jbrouwer

jbrouwer

    Super Member

  • Members
  • 191 posts
  • Country: Country Flag

Posted 15 November 2012 - 02:18 PM

Hi,

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?





Also tagged with one or more of these keywords: Resolved, buddypress css, mobile devices