Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jsventer Friend
    #182191

    Mobile template is not activating for article view (item view) in our site:

    Proper view:
    http://www.thecult.es

    Abnormal view when activating article view which includes modules in aside1, aside2 and aside3
    http://www.thecult.es/Cronicas/entrevista-con-leon-arsenal-ultima-roma.html

    We are testing with actual mobile devices and with Matt Kersley useful site: http://mattkersley.com/responsive/

    Could someone give us a hint on why this is happening?

    The rest of the templates appears to work fine, though we have detected also some anomalies with some screen sizes. I must also point out that in the excellent responsive design we had that astonishing facebook comments with a fixed width.

    HeR0 Friend
    #472857

    Hi Jsventer,

    When i go to http://www.thecult.es/Cronicas/entrevista-con-leon-arsenal-ultima-roma.html page, i got error:

    GET http://imagen.thecult.es/ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js 404 (Not Found) entrevista-con-leon-arsenal-ultima-roma.html:13
    Uncaught ReferenceError: jQuery is not defined k2.noconflict.js:9
    Uncaught ReferenceError: jQuery is not defined

    That means you has modified something related to loading jQuery library in your site and it caused this error. If you can tell me in more details on what you did, i’ll can find a best solution for you.

    Regards,

    jsventer Friend
    #472941

    Hi HeR0:

    Thanks for your answer. This error comes from the CDN Pro plugin fron NoNumber we’ve been using for quite a while now. I didn’t realize it was causing this error. I’ve excluded .js files from the CDN and now there is no error. Still, I’m getting the same odd behaviour regarding mobile template “switching”.

    We have two main kinds of view:
    the frontpage and the categories views, with all the global and category articles
    the article view, which includes the article and three aside columns.

    As you know, in mobile templates (normal and portrait) aside and content should occupy 100% of space. The asides are, in fact, working that way, but I don’t know why the content goes for just 40% which is the only tune we have made (switching the 40-60 ratio between content and asides).

    Another hint that might be of use (or not). Like a modern Louis Daguerre I reviewed the behaviour of the article view in mobile devices upon disabling, one by one, all the relevant plugins (the CDN plugin among them and, of course the social gadgets) and modules. The last modules to disable where the related to the aside columns. At that moment, the article view became 100% in the mobile. So it looks like the content.has-aside from wider templates might be affecting it. Still, I don’t know why.

    I know the template works really fine because I’ve seen it with the demo site using Matt Kersley testing site. So I’m sure this must be some misconfiguration we have made. But I’ve spent five days trying to corner it. I’ve searched through the forum. Finally Idecided to post.

    So, this is it. Hope you can give me another useful hint like your first one.

    Regards:

    Javier

    HeR0 Friend
    #472953

    Hi Jsventer,

    Please open file templates/ja_wall/css/layout.css and go to line 156, remove

    body.has-aside #content {
    width: 40%;
    }

    Then add it

    body.has-aside #content {
    width: 40%;
    }

    into templates/ja_wall/css/layout_normal.css , templates/ja_wall/css/layout-wide.css , templates/ja_wall/css/layout-wide-extra.css
    When you want to modify style for your site in a device, you should edit in css file of that device as tablet, mobile,… The layout.css is general which effect with all devices.
    Hope that can help you resolve that issue.

    Regards,

    jsventer Friend
    #473065

    Hi HeR0:

    Understood. I’ve solved it now. Thank you very much.

    Regards:

    Javier

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  jsventer 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum