Hide sitename @ boost theme (moodle 3.5)

Hide sitename @ boost theme (moodle 3.5)

by Sergio Comerón -
Number of replies: 3
Picture of Core developers Picture of Plugin developers

Hi to all, 

At theme Boost (with Moodle 3.3) I hide the sitename at top of the moodle (next to the logo) with this css:

span.site-name.hidden-sm-down {
    display: none;
}

this css don't run at Moodle 3.5. Somebody can say me how I can hide the sitename?


Lots of thanks to anybody.

Average of ratings: -
In reply to Sergio Comerón

Re: Hide sitename @ boost theme (moodle 3.5)

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

This may be because:

  1. you may have put the CSS in the wrong place.
    It needs to be in Boost > Advanced settings > Raw SCSS
      NOT the one marked Raw Initial SCSS 
  2.  you don't really need all those CSS class selectors,
     but it is useful to add the preceding div container class or id if it exists
    so try this instead:
 .navbar-brand > span.site-name { display: none; }

In reply to Mary Evans

Re: Hide sitename @ boost theme (moodle 3.5)

by Sergio Comerón -
Picture of Core developers Picture of Plugin developers

Hi Mary, 

Thanks! finally I read at https://moodle.org/mod/forum/discuss.php?d=359685#p1495227 that the CSS it's:

.site-name {display:none!important;}


smile




In reply to Sergio Comerón

Re: Hide sitename @ boost theme (moodle 3.5)

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Excellent...so glad you found out how to force a css setting!