Owl Carousel Not working on inner pages

2 replies · opened Nov 20, 2024

AAmeolNov 20, 2024

Hi,
The owl carousel works at the root: www.example.com
On the server, It does not work at: www.example.com/site/

Both of these urls, are the same page. With my cms, expression engine, I often have to add "/" a slash before images like this: /images....

This seems to be a similar problem, but I can't find in the js files where I would have to include / so the call to the js files works correctly.

I did fix this once, but hadn't noted where the / was required.
Please Advise.
Thanks

AAmeolNov 20, 2024

I have added <base href="https://example.com/"> to the page and the carousel now works.
I haven't had to do this on previous versions. If there is a better solution please let me know.

SSemicolon WebSTAFFNov 25, 2024

Hello,

Thanks for your Patience!

We recommend using Absolute URLs instead of Relative URLs if you are integrating it with a CMS. Example the following codes for the JS:
[ch_pre]
[/ch_pre]

will become:
[ch_pre]
[/ch_pre]

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard