1. Tralala
  2. Sherlock Holmes
  3. Commercial Templates
  4. Friday, 20 March 2020
  5.  Subscribe via email
Hi Ciaran,

I'm trying now your new template Skylar.
It is nice, but what is (besides the price) the most important difference with other templates?

My question refers also to other templates: What is the best way to style the LayerSlideShow? I've had some issues with altering the height, although I'm quiet familiar with css. There is a lot of posibilities to reduce the height of the slideshow, but not all are recommendable. Of course I want let other parts of the template untouched.

I saw that <div class="layerslideshowlite layerslideshowlite819"> seems to have the inline style 'max-height'. Of course I can place a line in custom-css, but where could I find and alter the apparently built-in style?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

The inline max-height is added using javascript by ../media/j51_assets/js/tiny-slider.min.js. This inline max-height is to ensure that there is no FOUC (https://en.wikipedia.org/wiki/Flash_of_unstyled_content) while the DOM waits for all the CSS to load.

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

The site is still only local.
I forgot an important detail: the infowrapper within the slideshow might disappear, I don't need it (and may be I even don't want it for this site).

For now I solved it with two lines in custom-css:


div .layerslideshowlite .layerslideshowlite819 {max-height: 220px; overflow: hidden;}
#layerslideshow819-ow {max-height: 220px; overflow: hidden;}


To my surprise I needed both of these lines. Of course they can be combined, but I'm going to 'play' with the params.
And yes, may be the best solution will be to resizes the images.

Nevertheless my question is where I could find the appartly built-in style 'max-height'.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of your slideshow? In what way do you wish to resize your slideshow? The most performant solution would be to simply resize the images.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • 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