Skip to:

Dynamically Applied Style Problem

  • Profile photo of jcangler


    I can’t for the life of me figure out why this is happening, but when the “What’s New” text box is in focus on the activity page, a dynamically applied style is appended to the element that shoots the textbox off the screen:
    ` {
    display: inline-block;
    height: 50px;
    This style is only appended if the buddypress template is fitted into the content div of my template. If I remove my theme’s main content div, the style is not appended but the alignment and whatnot is all jacked up.

    I’m using the BP compatibility pack (latest version), and if I disable the javascript, the style is not appended. It’s driving me nuts because I’ve tried to recreate the situation on another test server using the same theme and plugins (all latest versions), but it works fine there.

    Does anyone have any idea on how to figure out what is appending this dynamic style? It is only appended when it’s contained within this one particular div.

    I’m using the latest versions of buddypress and wordpress. Thanks in advance for your help!

Viewing 1 replies (of 1 total)
  • Profile photo of Tammie Lister


    That’s a style applied from BuddyPress’s JavaScript as it’s meant to ‘grow’ as it’s in focus.

    `jq(“form#whats-new-form textarea”).animate({
    – global.js

    It’s probably good to either keep that or have some indicator in your theme when someone clicks into that area.

Viewing 1 replies (of 1 total)
  • The topic ‘Dynamically Applied Style Problem’ is closed to new replies.
Skip to toolbar