Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Theme Author nobita

    (@nobita)

    Hi sabremary

    enough theme has browser detect functionality.

    if IE8 then add body class ie8 (server side) and screen width class( DOM class)

    if( width < 1281 ){
                    body_class = 'enough-w-sxga';
                }else{
                    body_class = '';
                }
                if( width < 1025 ){
                    body_class = 'enough-w-xga';
                }
                if( width < 801 ){
                    body_class = 'enough-w-svga';
                }
                if( width < 641 ){
                    body_class = 'enough-w-vga';
                }
                if( width < 481 ){
                    body_class = 'enough-w-iphone';
                }
                if( width < 321 ){
                    body_class = 'enough-w-qvga';
                }

    You can controll dispay issue using browser body class and screen width class.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting for IE 8?’ is closed to new replies.