Update the homepage
Change banner images
Prerequisite
Ensure the image(s) you want added to the banner have already been uploaded to AEM. If not, follow the steps in Uploading new photos and documents.
Due to AEM's limitations, the banner is a carousel of images on desktop, and one static image on mobile. Each has its own way of changing the images.
Change desktop carousel images
Each banner image on the website is its own unlisted page on the site. To change an image, you will need to edit the image property of the page.
Go to homepage carousel folder in AEM
Tip: Image order in the carousel matches the page order in AEM
Change image
- In the Homepage Banner folder, select the page for the carousel image you want to change.
- Right click on the page and select
Page Properties. - Select the
Imagetab. - Drag and drop a new image into the
Imagefield from the sidebar. - Press the
Cropbutton to crop the image to a 3:1 (Banner) aspect ratio.
Add caption
- Still in
Page Properties, select theBasictab. - Expand the
More Titles and Descriptionssection. - Enter your caption in the
Descriptionfield with a prefix ofImage:. - Press the
OKbutton and Activate the page to save your changes.
Example: Changing the 4th image on the homepage carousel
Add more images to desktop carousel
To add more images to the carousel, simply duplicate one of the existing pages in the Homepage Banner folder, then change the image and caption as described above. The new page will automatically appear in the carousel.
Change mobile banner image
To change the mobile banner image, you will need to edit the image directly on the homepage .
Change image
- Narrow your browser window to a mobile size until you can see the mobile banner image.
- Right click on the banner and select
Edit. - Expand your browser window back to full size. The mobile banner image will still be selected.
- Select the
Imagetab. - Drag and drop a new image into the
Imagefield from the sidebar. - Press the
Cropbutton to crop the image to a 3:2 (Carousel) aspect ratio.
Add a caption
- Select the
Advanced Image Propertiestab. - Enter your caption in the
Descriptionfield with a prefix ofImage:. - Press the
OKbutton and Activate the page to save your changes.
Changing the homepage banner's mobile image
Change events
Once an event has been created, it will automatically appear on the homepage in chronological order. If you want to change how many events are shown before pagination, follow the instructions below.
Change how many events are shown
As of writing, the homepage has been set to show three events in view. Any extra events will be paginated . The user clicks the next button to view the next four events.
- While editing the events cards component, select the
Listtab. - Change the
Pagnate afterfield to2. - Change the
CSS Classfield tocol-2 mds-stack outline.
- While editing the events cards component, select the
Listtab. - Change the
Pagnate afterfield to3. - Change the
CSS Classfield tocol-3 md-stack outline.
- While editing the events cards component, select the
Listtab. - Change the
Pagnate afterfield to4. - Change the
CSS Classfield tocol-2 mds-stack outline.
Meet the Team section
Follow the instructions under Updating the Agrivoltaics page. It is the same process for changing the team member cards on the homepage.
Our Latest Work section
This section has been set to automatically show the publication with the most recent publication date. Once you create a new publication, it should automatically appear in this section.
Our Latest Videos section
Currently the homepage automatically displays the latest videos uploaded to the CERG's YouTube channel. Simply upload videos to the CERG YouTube channel and they will automatically appear in this section.
If you want to change this behaviour, follow these instructions.
Ways to connect section
This section displays links to our social media profiles and contact us page. To add or change links, simply edit the text box and add a new link on a new line.