Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • henryxutao Friend
    #190826

    Hi, Dear Friend,
    For the popup window width, we only can set up to pixels, is that possible we set up it to percentage? I noticed in Firefox, if the screen height changing, the width of the popup window will automatically change to 100%. There should be a JS file there, could you tell me which JS file should I modify? Thanks.

    phong nam Friend
    #506836

    Hi henryxuato,

    It will be quitely complicated to edit the .js of our JA Content Popup module since our developer use the javascript functions to count the width of popup view when changing the width of popup view in the module’s backend. And your modification is easy to be overwritten when updating our module.

    In this case, i suggest you can use the overridden css style to set the fixed max-width of popup view, that make the widht not spread to 100% by trying to put below codes into templates/ja_onepage/css/custom.css file:

    div#yoxview {
    max-width: 450px;
    width: 450px !important;
    }

    iframe#bd-popup-iframe {
    width: 100% !important;
    }

    Adjust the width of div#yoxview until you get perfect.

    henryxutao Friend
    #507876

    Thanks.
    I hope it could be responsive in the future.

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

This topic contains 3 replies, has 2 voices, and was last updated by  henryxutao 11 years, 1 month ago.

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