Want to remove header or breadcrumb.

Want to remove header or breadcrumb.

by Rahul Khatri -
Number of replies: 2

Hi!

I want to remove header or breadcrumb which shows Course name, Dashboard / My Course / course, 

Entire section highlight in picture, in boost theme. i want to remove it for mobile screen size in website.

Please tell in which section or file i need to modify boost theme. 

Any suggestion. I am using moodle 3.4.

Boost theme


Average of ratings: -
In reply to Rahul Khatri

Re: Want to remove header or breadcrumb.

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

You can hide it using CSS - go to Site Administration > Appearance > Themes > Boost and then click on Advanced Settings and enter the following into the "Raw SCSS" box...

#page-course-view-topics #page-header {display: none;}

but you might want to consider only hiding it on mobile devices by wrapping it in a media query, eg:

@media screen and (max-width: 480px) {
  #page-course-view-topics #page-header {display: none;}
}

See https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ for a list of common sizes.

Average of ratings: Useful (1)