test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • wan fadli Developer
    #193173

    Dear JA,

    I have finished overriding my JA Brisk default styling template using “custom.css” file.. but it only for size >1024pixel.

    how about the others tablet/smartphone size.? how to put in “custom.css” file.?

    when I using this Device Media Queries into custom file, nothing happen:

    /* Smartphones (portrait and landscape) ----------- */
    @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* Styles */
    }

    /* Smartphones (landscape) ----------- */
    @media only screen and (min-width : 321px) {
    /* Styles */
    }

    /* Smartphones (portrait) ----------- */
    @media only screen and (max-width : 320px) {
    /* Styles */
    }

    /* iPads (portrait and landscape) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* Styles */
    }

    /* iPads (landscape) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* Styles */
    }

    /* iPads (portrait) ----------- */
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Styles */
    }

    /* Desktops and laptops ----------- */
    @media only screen
    and (min-width : 1224px) {
    /* Styles */
    }

    /* Large screens ----------- */
    @media only screen
    and (min-width : 1824px) {
    /* Styles */
    }

    /* iPhone 4 ----------- */
    @media
    only screen and (-webkit-min-device-pixel-ratio : 1.5),
    only screen and (min-device-pixel-ratio : 1.5) {
    /* Styles */
    }

    pavit Moderator
    #516179

    Hi

    You need to use the same as used in the templatesja_briskcssbootstrap-responsive.css

    @media (min-width: 768px) and (max-width: 979px) {
    for example

    wan fadli Developer
    #516204

    <em>@pavit 402955 wrote:</em><blockquote>Hi

    You need to use the same as used in the templatesja_briskcssbootstrap-responsive.css

    @media (min-width: 768px) and (max-width: 979px) {
    for example</blockquote>

    Hi Pavit,

    in the bootstrap-responsive.css file only have the media width for 768px – 979px.. how about the others size.?

    or i need to write my own code for media device.? if so, what size should i put.

    thank you

    pavit Moderator
    #516220

    Hi

    The bootstrap-responsive.css file manage all media sizes open it and check what you want to change then copy new values in your custom.css file

    Nazario A Friend
    #516292

    Hi wan fadli,

    As @pavit replied to you. You need to use this code in file templatesja_briskcssbootstrap-responsive.css, and depending the device you are using, you need to change the min-width and max-width is suitable for your device.

    @media (min-width: 768px) and (max-width: 979px) {
    /*custom your css in here */
    }

    Regards,

    Nazario A

    wan fadli Developer
    #516573

    <em>@Nazario A 403085 wrote:</em><blockquote>Hi wan fadli,

    As @pavit replied to you. You need to use this code in file templatesja_briskcssbootstrap-responsive.css, and depending the device you are using, you need to change the min-width and max-width is suitable for your device.

    @media (min-width: 768px) and (max-width: 979px) {
    /*custom your css in here */
    }

    Regards,

    Nazario A</blockquote>

    Hi @pavit and @navario A, thanks for the reply…

    so, I can override the default styling by copy the styling from boostrap-responsive.css , and paste it into custom.css right.?

    pavit Moderator
    #516581

    <blockquote>so, I can override the default styling by copy the styling from boostrap-responsive.css , and paste it into custom.css right.?</blockquote>

    Yes right you can do in this way and customize it as you wish

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

This topic contains 7 replies, has 3 voices, and was last updated by  pavit 10 years, 11 months ago.

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