Essential Theme - unable to remove flat navigation on landing page

Essential Theme - unable to remove flat navigation on landing page

by 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

Average of ratings: -
In reply to Atiqul Hussain

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

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of 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;}
Average of ratings: Useful (1)
In reply to Mary Evans

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

by Atiqul Hussain -

Hi Mary,

That worked fantastically!

Thank you so much!

Atiqul

Average of ratings: Useful (1)
In reply to Atiqul Hussain

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

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

iTS EASY IF YOU KNOW HOW!