Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #67298
    intreat
    Member
    Post count: 4

    Hi,

    I would like to use the boxed layout for my site at 1200px and more but not when the screen is smaller.
    Site: http://www.intreat.se

    I tried using this jQuery for this, both by adding it to a .js file and in the custom js in theme options, but no luck:
    Fiddle

    $(function(){
    $(window).bind(“resize”,function(){
    console.log($(this).width())
    if($(this).width() <1200){
    $(‘#container’).removeClass(‘boxed-layout’)
    }
    else{
    $(‘#container’).addClass(‘boxed-layout’)
    }
    })
    })

    I also tried this when having boxed layout from the start and full width.
    Any ideas?

    #67410
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide website URL and wordpress admin login detail so i can try to resolve your issue .
    Thanks

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register