Clean Theme - Whitespace Above Logo

Clean Theme - Whitespace Above Logo

by Steve Lauen -
Number of replies: 3

Using Moodle 2.7 with the Clean theme.

We are using a logo image, and have found that there is some whitespace between the site header and the logo image.  I'd like to eliminate this whitespace, and was hoping to do so with some CSS, but have been unable to determine what should be changed to accomplish this.

Can anyone provide some guidance as to how best to accomplish this.

I've attached a screenshot of our site showing the whitespace I'm talking about.

We've used CSS to customize the header colors.  I've pulled out all of our custom CSS and confirmed that the whitespace still appears with barebones Clean theme.

Thanks in advance for any assistance that can be provided.


Attachment example.png
Average of ratings: -
In reply to Steve Lauen

Re: Clean Theme - Whitespace Above Logo

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

Yes, if you go back into the Clean theme's settings where you added the logo, you will see a Custom CSS box that has instructions there about adding CSS for that logo. All you need to do, if you have not already added any CSS for the logo is to add some thing like...

a.logo { margin-top: -20px; }

You can adjust this value to whatever space you need to delete.

Cheers

Mary