-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel doesn't show child pages of a page with latest pages #530
Comments
To add a carousel from our default body setup, you will need to select Responsive Grid Row > Column > Carousel. You can also access the Responsive Grid Row within a Hero Unit block. |
When creating the carousel, you have to add slides. I'm guessing you added the content of the first slide to be "latest pages". This should work (assuming your news page and its child pages are all published). However, it might not work as you expect. It will not generate a new slide for each article. It will show all of the articles on the first slide. To help debug, can you make sure your news page and its child pages are published. Then inspect the source of the carousel screenshotted above. See if there is any indication of those pages in that slide. It is possible they may not be visible due to CSS. |
Yep, you're right - it is a CSS issue. Upon adding a background image, the text is now viewable. At any rate, thank you for your help! |
I would recommend creating a custom html template for the LatestPages block (there are currently a couple built-in ones under Advanced Settings). Then you can make your custom template render as a bootstrap carousel for each page. This would require some development. The process for adding a custom template is not perfect yet, but all you need to do is add coderedcms/coderedcms/settings.py Line 146 in aec431b
|
The Wagtail CRX wiki on carousels says:
So I did just that in my Wagtail admin, I made a Carousel snippet which should preview some pages. However, when I edit my home page (which should have a body streamfield), I only get the options for a hero unit, card grid, etc. Am I missing something really simple here or do I have to enable something?
Adding a navbar and footer worked fine since I could add these in CRX settings in the admin.
The text was updated successfully, but these errors were encountered: