This guide provides step-by-step instructions for managing the custom HTML carousel on the school’s homepage. Use these workflows to add, update, or remove slides while maintaining a professional design and seamless performance within EdWeb. Spaniel recovers following fish hook scare Young dog's trauma highlights why early management and referral is critical. Solving the world's greatest One Health challenges We aim to be the global leader in lifelong learning and innovation, advancing One Health for animals, humans, and the planet. Kitchen drawer handles linked to leg injuries in cats Veterinary researchers have identified a potential household injury risk for cats linked to common kitchen fittings. Tool offers ways to track carbon cost of vet surgery Database documenting emissions of surgical procedures in dogs highlights potential reductions via pharmaceuticals. Ophthalmologists help penguin from Edinburgh Zoo Poly the one-eyed penguin is rock-hopping again, thanks to Dick Vet ophthalmologists.. Ewe nutrition impacts immunity of newborn lambs Study highlights effect of maternal condition on lamb immunity and outcomes, and shows potential of farm-based diagnostic tool. Previous Next Step 1: Prepare Your ImageBefore touching the code, you must ensure your image is the correct size and hosted on the server.Dimensions: Your image must be 1400px wide by 466px high.Note: Using different proportions will distort the carousel height and lead to a poor user experience.Upload to EdWeb: Add your image to the Media Library.Get the URL:In the Media Overview, click the image filename to open the edit page.Right-click the filename link (the actual file path) and select Copy Link Address.Save this URL in a notepad or document for later. (Example: https://vet.ed.ac.uk/sites/default/files/2026-03/carousel-dog-hook.jpg)Step 2: Editing the HTML CodeDownload the Source: Get the latest HTML Template here.Environment: Open this in a plain text editor (Notepad, TextEdit, VS Code) or Dreamweaver (recommended).Deployment: You will eventually paste this finished code into the Custom HTML field in EdWeb.Scenario A: Adding a New SlideTo add a slide, you need to update two things: the indicator button and the slide content.1. Update the Indicators The indicators are the wee horizontal buttons, at the top-middle of the slides. Find the <button> tags near the top of the code. Copy the last line and paste it directly below, then increase the numbers by one.Original: <button ... data-bs-slide-to="5" aria-label="Slide 6"></button>New Line: <button ... data-bs-slide-to="6" aria-label="Slide 7"></button>2. Add the Slide Content Copy all of the code block between <!-- SLIDE 1 --> and<!-- SLIDE 2 --> (as outlined in red above)To add to the start: Paste it before <!-- SLIDE 1 -->To add to the end: Paste it before <!-- END OF SLIDES --> 3. Customise the ContentImportant! In what is now Slide 2 remove the active from <div class="carousel-item active”>. Only the first slide can be marked as active. Also, delete <div class="carousel-inner"> from the second slide. This tag should only appear at the start of Slide 1.In your new block, update these four items:Image URL: Paste your new image link between the quotes in <img src="...">.Target Link: Paste the destination page URL between the quotes in <a href="...">.Title: Change the text between the <h5>...</h5> tags.Summary: Change the text between the <p>...</p> tags.Save and View. Video demo of Scenario A: Adding a new Slide. It is recommended to view this video at full screen size. Scenario B: Replacing an Existing SlideThis is the quickest way to update content without changing the number of slides.Identify the slide number you want to change (e.g., Slide 5).Replace the Image: Swap the URL in the <img src="..."> tag.Update the Link: Swap the URL in the <a href="..."> tag.Update the Text: Edit the text inside the <h5> (Title) and <p> (Summary) tags.Save and View. Scenario C: Removing a SlideIf you want to reduce the total number of slides, you must clean up the indicators and the content.Remove the Indicator: Delete the <button> line corresponding to the slide you are removing (usually the last one).Delete the Content: Locate the slide block (e.g., everything between and) and delete it entirely.Check the Sequence: If you delete a slide from the middle (e.g., Slide 3), you must manually re-number the remaining slides and indicators so they are sequential (1, 2, 3, 4...).Important: If you remove the original first slide, you must designate the new first slide as "active." To do this, locate the first <div class="carousel-inner"> and ensure the following line reads:<div class="carousel-item active"> Summary Table: Code Tags to WatchTagPurposedata-bs-slide-toTells the button which slide to jump to (starts at 0).activeDetermines which slide shows up first on page load.<img src="...">The source of your 1400x466px image.<a href="...">URL of target page<h5>...</h5>The bold heading/title on the slide.<p>...</p>The summary text below the title. Symbols and special characters in HTML The following special characters are reserved in HTML. That is because these are the characters that make up the HTML language. If you use one of these characters in an article, the browser will try to interpret it as HTML. Therefore, you should use the entity name or entity number when you want to output any of these reserved characters.CharacterEntity NumberEntity NameDescription"""quotation mark'''apostrophe&&&ampersand<<<less-than>>>greater-than®®®registered trademark©©©copyright£££poundLive exampleTo display the text "Young dog's trauma highlights why early management and referral is critical." use the following HTML:<p>Young dog's trauma highlights why early management and referral is critical.</p>note that ' is used in place of an apostrophe. Troubleshooting & Support It is very easy to accidentally "break the code" by deleting a tag delimiter (like a >) or placing tags in the wrong order for example. If your layout looks broken after an update - don’t worry!The Reset Button: You can always download the original source file and start fresh.Get Help: If you get stuck or something isn't rendering correctly, please contact Gordon MacPherson for assistance. This article was published on 2026-03-16