| | 53 | Scenario:Assume you need to add a contact email using the customization options available in the Moodle header. |
| | 54 | |
| | 55 | ===== Steps to Add a Contact Email by Customizing the Header: |
| | 56 | |
| | 57 | 1. **Log in to Moodle**: |
| | 58 | - Access Moodle with administrative privileges using your credentials. |
| | 59 | |
| | 60 | 2. **Access Site Administration**: |
| | 61 | - Navigate to "Site administration" in the top-right corner of the page. |
| | 62 | |
| | 63 | 3. **Navigate to Appearance Settings**: |
| | 64 | - Under "Site administration," click on the "Appearance" tab. |
| | 65 | - Select "Theme settings" or "Theme" depending on your Moodle version. |
| | 66 | |
| | 67 | 4. **Customize Header**: |
| | 68 | - In the "Theme settings" section, look for a section labeled "Header" or "Custom header content." |
| | 69 | |
| | 70 | 5. **Add Contact Email**: |
| | 71 | - Locate the text box where you can add custom HTML or text content for the header. |
| | 72 | - Enter the contact email using HTML to format it appropriately. For example: |
| | 73 | |
| | 74 | {{{ |
| | 75 | #!css |
| | 76 | <div class="header-contact"> |
| | 77 | Contact us at: <a href="mailto:contact@university.edu">contact@university.edu</a> |
| | 78 | </div> |
| | 79 | }}} |
| | 80 | |
| | 81 | - This HTML code adds a div with a class for potential styling and includes a mailto link for the contact email. |
| | 82 | |
| | 83 | 6. **Save Changes**: |
| | 84 | - Scroll down to the bottom of the page and click on the "Save changes" button to apply the custom header content. |
| | 85 | |
| | 86 | 7. **Verify Header Customization**: |
| | 87 | - Go to the main page of your Moodle site to verify that the contact email appears in the header as expected. |
| | 88 | - Ensure the email link works correctly by clicking on it to open your default email client. |
| | 89 | |
| | 90 | By following these steps, you will have successfully customized the Moodle header to include a contact email, making it easily accessible to users. |
| | 91 | |
| | 92 | |
| | 93 | |