• Resolved noizeburger

    (@noizeburger)


    Hey,
    I’m using the Responsive Theme from themeid.com
    The theme has its own homepage with a certain class. I made changes to css to get the widgets on that page equal in height. Problem is, that if I load e.g. a category page, the style does not change – so the height of the widgets in the sidebar is the same I gave to the widgets on the bottom of my homepage.

    In AAPL there’s an option to put in some lines of code to make that work, as far as I’ve understood. The option is called “Data ajax loaded Code”. What should I put in there?

    Site is: http://www.thenaughtydaughters.com

    Greets,
    noizeburger

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dean Williams

    (@deano1987)

    You have an error in your reload code which is halting your script.

    FB.init({
    appId : ‘260051607443694’, // App ID
    //channelUrl : ‘//WWW.YOUR_DOMAIN.COM/channel.html’, // Channel File
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml : true // parse XFBML
    });

    Uncaught ReferenceError: FB is not defined

    Plugin Author Dean Williams

    (@deano1987)

    enabling debug mode on AAPL should now give you error warnings for things like this. please update.

    Thread Starter noizeburger

    (@noizeburger)

    Hy Dean,

    meanwhile I had changed the theme, but now I’ve tried again.
    The error you’ve mentioned is not there for me. I’ve updated the plugin.

    As I told you, the homepage has its own body class. If you navigate through the site, the content has no white background and if you go back to home, the top margin is wrong.

    Would be nice, if you could take a look at it again.

    Thanks,
    noizeburger

    Thread Starter noizeburger

    (@noizeburger)

    btw: this is how the pages should look like:
    screenshot

    Thread Starter noizeburger

    (@noizeburger)

    The body class for the homepage is “home blog logged-in”
    The body class for pages should be “page page-id-2 page-template-default logged-in” for example.
    I need a way to switch between these classes and thought, there would be an option in the settings of your plugin.

    Do you understand, what I mean?

    Thanks again!

    Plugin Author Dean Williams

    (@deano1987)

    you need one class that is universal to the whole site, just modify your theme and add a ne class such as “ajaxarea” and link it into AAPL options.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Advanced AJAX Page Loader] Changing the class of the body tag’ is closed to new replies.