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

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. # 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

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. # 3
  • Page :
  • 1


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