Side bar on course page can't be hidden completely

Side bar on course page can't be hidden completely

by Edwin Lynd -
Number of replies: 9

It happens only on course main page, while it's OK if go any activity pages. 

I am using moodle 3.8,  Adaptable theme newest version. 

As attached picture, how can I completely hide the sidebar? 

Attachment Screenshot_20200205_103214.jpg
რეიტინგების საშუალო: -
In reply to Edwin Lynd

Re: Side bar on course page can't be hidden completely

by Howard Miller -
Core developers სურათი Documentation writers სურათი Particularly helpful Moodlers სურათი Peer reviewers სურათი Plugin developers სურათი
You need to remove all the blocks from the sidebar... surely?
რეიტინგების საშუალო: -
In reply to Howard Miller

Re: Side bar on course page can't be hidden completely

by Edwin Lynd -
No,  I mean to hide it into the right side, where only the arrow icon showing out.  

(Edited by Gareth J Barnard - remove signature not in English on an English forum - original submission Wednesday, 5 February 2020, 10:40 AM)

რეიტინგების საშუალო: -
In reply to Edwin Lynd

Re: Side bar on course page can't be hidden completely

by Howard Miller -
Core developers სურათი Documentation writers სურათი Particularly helpful Moodlers სურათი Peer reviewers სურათი Plugin developers სურათი
Does the Adaptable theme do that? I have no idea - I don't use it.

Anyway... moving to the Themes forum...
რეიტინგების საშუალო: -
In reply to Howard Miller

Re: Side bar on course page can't be hidden completely

by Gareth J Barnard -
Core developers სურათი Particularly helpful Moodlers სურათი Plugin developers სურათი

Ok, I wrote that code.  What version is the newest version?  What course format?  Is Adaptable tabs on and if so, what are the settings?  What custom CSS if any do you have?

რეიტინგების საშუალო: -
In reply to Gareth J Barnard

Re: Side bar on course page can't be hidden completely

by Edwin Lynd -
Hi Gareth J Barnard, 

The adaptale theme version 2.2.2, 
course format button and grid with the same issue, 
Theme tabs off and no custom CSSused. 

--------  --------
: "Gareth J Barnard (via Moodle.org)" <noreply@moodle.org>

Edwin Lynd <>
: Moodle in English: Re: Side bar on course page can't be hidden

(Edited by Gareth J Barnard - Removed personal information and non English characters - original submission Wednesday, 5 February 2020, 2:32 PM)
რეიტინგების საშუალო: -
In reply to Gareth J Barnard

Re: Side bar on course page can't be hidden completely

by Edwin Lynd -
And sorry I should have said clearly,  that the issue is on mobile only. 


(Edited by Gareth J Barnard - remove signature not in English on an English forum - original submission Wednesday, 5 February 2020, 2:41 PM)

რეიტინგების საშუალო: -
In reply to Edwin Lynd

Re: Side bar on course page can't be hidden completely

by Gareth J Barnard -
Core developers სურათი Particularly helpful Moodlers სურათი Plugin developers სურათი

Cannot replicate:


Attachment Annotation 2020-02-07 123235.png
რეიტინგების საშუალო: -
In reply to Gareth J Barnard

回复: Re: Side bar on course page can't be hidden completely

by Edwin Lynd -
could you check the demo url here? 
რეიტინგების საშუალო: -
In reply to Edwin Lynd

Re: 回复: Re: Side bar on course page can't be hidden completely

by Gareth J Barnard -
Core developers სურათი Particularly helpful Moodlers სურათი Plugin developers სურათი

In layout/course.php:

$movesidebartofooter

is true, so try the following Custom SCSS please:

@media(max-width: 991px) {
    #block-region-side-post.col-12 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

and let me know.

G



რეიტინგების საშუალო: -