Side bar on course page can't be hidden completely

Side bar on course page can't be hidden completely

על ידי Edwin Lynd בתאריך
מספר תגובות: 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? 

צרופה Screenshot_20200205_103214.jpg
ממוצע דרוגים: -
בתגובה ל: Edwin Lynd

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

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
You need to remove all the blocks from the sidebar... surely?
בתגובה ל: Howard Miller

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

על ידי 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)

בתגובה ל: Edwin Lynd

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

על ידי 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...
בתגובה ל: Howard Miller

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

על ידי 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?

בתגובה ל: Gareth J Barnard

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

על ידי 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)
בתגובה ל: Gareth J Barnard

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

על ידי 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)

בתגובה ל: Edwin Lynd

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

על ידי Gareth J Barnard בתאריך
תמונה של Core developers תמונה של Particularly helpful Moodlers תמונה של Plugin developers

Cannot replicate:


צרופה Annotation 2020-02-07 123235.png
בתגובה ל: Gareth J Barnard

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

על ידי Edwin Lynd בתאריך
could you check the demo url here? 
בתגובה ל: Edwin Lynd

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

על ידי 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