Implemented disable footer on mobile

Discussion in 'Resolved Suggestions (XF2)' started by lub0112, Jan 16, 2018.

  1. lub0112

    lub0112 Customer

    is there a way to disable the footer in mobile only ?

    thanks
     
  2. Steve

    Steve Designer

    I think we can probably include an option for this in the next release. For now try this in the extra.less template

    Code:
    Copy Source
    @media (max-width: @xf-responsiveMedium)
    {
        .XenBase .xb-footer
        {
            display: none;
        }
    }
     
  3. lub0112

    lub0112 Customer


    perfect thanks

    would disbabling sidebar widgets be the same idea or disable the full sidebar for mobile ?
     
  4. Russ

    Russ Designer

    You could adjust the code to this to hide the sidebar in mobile.
    Code:
    Copy Source
    @media (max-width: @xf-responsiveMedium)
    {
       .XenBase .xb-footer, .XenBase .p-body-sidebar
       {
           display: none;
       }
    }
    
     
  5. lub0112

    lub0112 Customer


    perfect @Russ

    just to say thanks again , delighted you guys added zipped to the fa+ , purchased yesterday and now my place is looking just like the old days

    top work
     
    Russ likes this.
  6. Steve

    Steve Designer

    Added a new option to disable the custom footer in medium responsive views, anything under 650px width will not show.
    upload_2018-1-19_9-14-50.png
     
    lub0112, creaky and RobParker like this.
  7. lub0112

    lub0112 Customer


    top work

    thanks again
     

Let's work together on your next project

Contact us today to talk about how we can help you