How to easily call and render a custom Banner carousel in AnQiCMS template?
In website operation, the Banner carousel is an important element to enhance the visual appeal of the page, convey core information, and guide user behavior.AnQiCMS as a powerful content management system provides users with a flexible way to manage and call these custom banners, allowing your website content to be displayed in a more vivid and dynamic form.
1. Backend management: Prepare content for the Banner carousel
In AnQiCMS, you can configure Banner carousels at different levels for your website to meet diverse display needs.
1. Centralized management and flexible configurationFor banners that need to be displayed globally or shared across multiple pages, AnQiCMS usually provides a centralized management entry in the "background settings" or a dedicated "content management" module.Here, you can create different Banner groups such as 'Home Carousel', 'Product Page Banner', or 'Special Page Banner', and upload the corresponding images for each group.The benefit of this method is that you can flexibly define and switch Banner content according to the different areas or functions of the website.
In addition, AnQiCMS also supports setting exclusive Banners for specific content (such as document categories or independent pages).
- Document category BannerEnter "Content Management" -> "Document Category", edit the category you want to add the Banner to. In the editing interface, you will find the "Banner Image" option.
- Independent Page Banner:Go to 'Page Resources' -> 'Page Management', edit an independent page. In the editing page, there will also be the 'Banner Image' settings item.
2. Image Upload and SpecificationsThe operation is very intuitive whether it is uploading a Banner image in global settings, categories, or on the page.You can select multiple images to create a carousel effect.To ensure the uniformity and aesthetics of the front-end display, it is strongly recommended that you upload all Banner images with the same size and proportion.During the upload process, remember to fill in meaningful descriptions (Alt attribute) for each image. This not only helps improve the website's SEO performance but also enhances the website's accessibility.