1. Fearon
  2. Sherlock Holmes
  3. Commercial Templates
  4. Saturday, 11 February 2023
  5.  Subscribe via email
Hello,

I'm trying to figure how best to use the LayerSlideshow module. My issue is I would to be able to run two images for each slide - one for desktop and one for mobile (desktop would be wider).

I don't see anyway to do this so I thought I would set up two modules and use "hidden-phone" and "hidden-deskop" in the module class. I've tried it and it doesn't seem to work.

I've attached a file showing the entries in the module class. The software accepts them but they do not seem to be doing anything.

Any advice?
John
Attachments (1)
Accepted Answer Pending Moderation
0
Votes
Undo
Hi John

What you are suggesting should work for what you are looking to achieve. Note that as Joomla 4 is now using Bootstrap 5, try using one of the Bootstrap display utility classes... https://getbootstrap.com/docs/5.0/utilities/display/#hiding-elements

You are still having an issue, may I suggest providing a URL to an example of your modules and we will examine this further.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran. I'll give this a go and get back to you.

John
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Oiche mhaith Ciaran,

Would appreciate your help on this.

I tried the older style (hidden-phone) and the newer style and could get neither to work.

I have this is in Advanced tab:
visible-desktop hidden-tablet hidden-phone

The page is:
https://www.mountpleasantlibrary.org/hayleyj4/index.php/mppl-menu/home-2

If it would help you, I can set up with access

Thanks
John
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi John

To amend try using the following classes which will hide the module on phone and tablet...

d-md-none d-lg-block


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Good Morning Ciaran

I tried that (with and without the "1 |";) and I get an error message telling me it is invalid.

When I did the older code ("Hidden-phone";) the module accepted it, but it didn't work.

I've attached a screencap.
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

There appears to be a space before the classes. Could you try removing this space and see if the issue is resolved.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran. That did it.
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok