Template by lck

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

ustalo
Posts: 164
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Mon May 04, 2020 5:06 pm

most ok this

/* Slideshow mit Plugin Slideshow_XH */
.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: inherit;
margin: 0;
padding: 0;
z-index: -10;
}
.lck_slideshow img {
height: 100% !important;
width: cover !important;
}

but some distortion exist
Aleksei

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Mon May 04, 2020 5:53 pm

ustalo wrote:
Mon May 04, 2020 1:51 pm
Tabs & Accordion works. if we do not use
smoothscroll.js
Apparently the JS scripts get in the way.
Set the following values in the jQuery configuration, maybe this helps.
jQuery-config.jpg
You do not have the required permissions to view the files attached to this post.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Mon May 04, 2020 6:00 pm

ustalo wrote:
Mon May 04, 2020 5:06 pm
but some distortion exist
Please, fix all these errors first, otherwise it doesn't make sense to continue helping. Maybe this will solve some problems.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

ustalo
Posts: 164
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Thu May 07, 2020 4:39 am

most useful decision as I see
/* Slideshow mit Plugin Slideshow_XH */
.lck_slideshow {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: auto;
margin: 0;
padding: 0;
z-index: -10;
}
.lck_slideshow img {
height: cover !important;
width: 100% !important;
}
/*add acme*/
scroll-behavior: smooth;
}
Aleksei

ustalo
Posts: 164
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Thu May 07, 2020 6:16 pm

Thanks, Master Lck

http://cms.sima.spb.ru/
Aleksei

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Thu May 07, 2020 7:14 pm

ustalo wrote:
Mon May 04, 2020 11:44 am
I already did/ Works
about tab & accordion
experience show, one script stop it works

<script ="text/javascript" src="<?php echo $pth['folder']['template']?>scripts/smoothscroll.js"></script>

if I comment (delete) this line, accordion & tabs works
Check out smoothscroll.js You seem to be missing the closing brackets at the end });
Is:

Code: Select all

...
$('.lck_scroll-top').click(function() {
	  $('html, body').animate({
	    scrollTop: 0
	  }, 800);
	  return false;
	});
Should be:

Code: Select all

...
$('.lck_scroll-top').click(function() {
  $('html, body').animate({
    scrollTop: 0
  }, 800);
  return false;
});
		
});
That's probably the cause.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Thu May 07, 2020 7:30 pm

ustalo wrote:
Thu May 07, 2020 4:39 am
.lck_slideshow img {
height: cover !important;
width: 100% !important;
}
width: cover; does not exist in CSS. Use:

Code: Select all

.lck_slideshow img {
height: auto !important;
width: 100% !important;
}
If this doesn't work as desired, you would have to assign an additional class for the second slideshow (shown in all other pages except startpage) and then style it accordingly, e.g.:
template.htm

Code: Select all

<div class="lck_slideshow allotherpages">
stylesheet.css

Code: Select all

.lck_slideshow.allotherpages img {
	height: auto !important;
	width: 100% !important;
}
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

ustalo
Posts: 164
Joined: Mon Aug 16, 2010 7:42 am
Location: Russia
Contact:

Re: Template by lck

Post by ustalo » Sat May 09, 2020 10:35 am

there is background example
is it possible do with slideshow?

https://ringvemedia.com
https://css-tricks.com/perfect-full-pag ... und-image/

as I see it works the same on original lock template. Not possible with slideshow?
Aleksei

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Template by lck

Post by lck » Sun May 10, 2020 2:32 pm

No. Slideshow_XH creates the slideshow from a folder with images. But there are several templates on the web, pure "CSS background image slider" or even with Javascript, which can be easily integrated.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Post Reply