A discussion on the Discourse forum about implementing carousel sliders with the Featured Tiles component on mobile devices. User Dennis_P_Z seeks to create a carousel on homepage and category pages using the Featured Tiles component but faces issues with mobile responsiveness and JavaScript loading. Others, including Lilly, Moin, Arkshine, and NateDhaliwal, offer suggestions and alternatives, such as using the discourse-big-carousel-component or custom CSS/JavaScript. Arkshine shares a forked version of the component with improved settings and fixes for image display and behavior. Users like Aizada_M and sweet_Girl report issues with image splitting and missing upload buttons, which are addressed with CSS adjustments and theme component configurations. The conversation includes troubleshooting steps, code snippets, and feedback on the component’s functionality and appearance across devices.
I want to have a carousel slider on top of my site homepage and category pages, some featured topics and images can be selected and designated through setting panel.
Previously I wanted to have the following effect on both desktop and mobile devices
So I took advice from @Moin to try Featured Tiles component. However there’s no carousel effect and not friendly to mobiles. I did some work to achieve this
Desktop
Mobile
However there are two issues on mobile end,
When I go to homepage from topic page, the carousel effect fails, unless I click home button again, seems that javascript not loaded
hah nice! I didn’t test. I just assumed from the OP and that because it said work in progress and there was no meta topic info on the git repo that it wasn’t working.
@Moin I tried with Featured Files, finally achieved carousel using custom css and javascript, but extra css need to be added so to be friendly on mobiles
Hi @Arkshine
I need the feature on homepage and category pages, better the image can be recalled within the topic. We will give more time to the author
I updated my original topic, please have a look and if you have any ideas
Bless! @Lilly@Moin
Hello! Wonderful job
Yesterday I installed this theme component, everything works well except:
When I scroll through the carousel, at some point the image splits into two, but this is not always the case. Here’s an example:
After I click on the button in the carousel, I follow the link to another page and after returning back to the home page, the content in the banner decreases in size. This is not a permanent error and can occur at any time. Here is an example of the error:
For information. On the desktop I used the Chrome browser, and on the Android smartphone I used the Huawey browser
Of course, I understand that this component is still in development, but I decided to share the information with you anyway.
By default, the image repeats itself based on the available space. You can change this behavior with some CSS. I will make a setting to control the image, e.g., its position, size, and so on.
At the moment, you can play with the: background properties. (!important is needed)
Hello again
I played around with CSS and liked the ability to control the background of the image in the carousel . I was also hoping that CSS would solve my original problem. In the normal state, the images in the carousel change without problems, but as soon as I click on one of the latest, new or active buttons, when changing images and content in the carousel, their integrity is violated - the beginning appears at the end, and the end appears at first. Apparently this is a system error