Essential Theme - unable to remove flat navigation on landing page

Essential Theme - unable to remove flat navigation on landing page

от Atiqul Hussain -
Number of replies: 3

Hi everyone!

I'm struggling to remove the flat navigation feature from the landing page (before logging in) of my Moodle. A screenshot of this is below:

flat-nav

As you can see it displays a Home link, which doesn't serve a purpose as all it does is reload the page.

I want to keep the flat navigation after logging in, but so far could not remove it from the landing page. All suggestions are welcome.


Moodle version: Moodle 3.4.1+ (Build: 20180228)

Moodle theme: Essential 3.4.1.0 (Build: 2017102902)


Thanks!

Atiqul

In reply to Atiqul Hussain

Re: Essential Theme - unable to remove flat navigation on landing page

от Mary Evans -
Снимка на Core developers Снимка на Documentation writers Снимка на Peer reviewers Снимка на Plugin developers Снимка на Testers

hi if you look at the source code of the Frontpage then you will see this...

<nav class="list-group">
<a class="list-group-item list-group-item-action bold" href="https://bylazydaisy.co.uk/" data-key="home"> <div class="m-l-0"> Home </div> </a> </nav>

So to remove it from the front page then just add the following CSS in the Essential theme's Custom CSS box in the Essential settings page.

#page-site-index [data-key="home"] { display: none;}
In reply to Mary Evans

Re: Essential Theme - unable to remove flat navigation on landing page

от Atiqul Hussain -

Hi Mary,

That worked fantastically!

Thank you so much!

Atiqul